[vlc-commits] qml: change header sequence in VideoList

Prince Gupta git at videolan.org
Fri Jun 19 09:54:10 CEST 2020


vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Thu Jun  4 23:34:42 2020 +0530| [4e72a4032487c395b51514e5884256be97972c20] | committer: Pierre Lamot

qml: change header sequence in VideoList

OLD: Image, Duration, Title
NEW: Image, Title, Duration

this change is based on Designs

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4e72a4032487c395b51514e5884256be97972c20
---

 modules/gui/qt/medialibrary/qml/VideoListDisplay.qml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt/medialibrary/qml/VideoListDisplay.qml b/modules/gui/qt/medialibrary/qml/VideoListDisplay.qml
index 4c2702f386..9f75de7ab6 100644
--- a/modules/gui/qt/medialibrary/qml/VideoListDisplay.qml
+++ b/modules/gui/qt/medialibrary/qml/VideoListDisplay.qml
@@ -38,15 +38,15 @@ Widgets.KeyNavigableTableView {
 
     property var sortModelMedium:  [
         { type: "image", criteria: "thumbnail", width: VLCStyle.colWidth(1), text: i18n.qtr("Thumbnail"), showSection: "" },
-        { criteria: "durationShort",            width: VLCStyle.colWidth(1), showSection: "", colDelegate: tableColumns.timeColDelegate, headerDelegate: tableColumns.timeHeaderDelegate },
         { isPrimary: true, criteria: "title",   width: VLCStyle.colWidth(2), text: i18n.qtr("Title"),    showSection: "title" },
+        { criteria: "durationShort",            width: VLCStyle.colWidth(1), showSection: "", colDelegate: tableColumns.timeColDelegate, headerDelegate: tableColumns.timeHeaderDelegate },
         { type: "contextButton",                width: VLCStyle.colWidth(1)  }
     ]
 
     property var sortModelLarge:  [
         { type: "image", criteria: "thumbnail", width: VLCStyle.colWidth(1), text: i18n.qtr("Thumbnail"), showSection: "" },
-        { criteria: "durationShort",            width: VLCStyle.colWidth(1), showSection: "", colDelegate: tableColumns.timeColDelegate, headerDelegate: tableColumns.timeHeaderDelegate },
         { isPrimary: true, criteria: "title",   width: VLCStyle.colWidth(4), text: i18n.qtr("Title"),    showSection: "title" },
+        { criteria: "durationShort",            width: VLCStyle.colWidth(1), showSection: "", colDelegate: tableColumns.timeColDelegate, headerDelegate: tableColumns.timeHeaderDelegate },
         { type: "contextButton",                width: VLCStyle.colWidth(1) }
     ]
 



More information about the vlc-commits mailing list