[vlc-devel] [PATCH 7/7] qml: change header sequence in VideoList

Prince Gupta guptaprince8832 at gmail.com
Tue Jun 9 11:46:33 CEST 2020


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

this change is based on Designs
---
 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 fc3e953aee..33067d68c3 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: timeColDelegate, headerDelegate: timeHeaderDelegate },
         { isPrimary: true, criteria: "title",   width: VLCStyle.colWidth(2), text: i18n.qtr("Title"),    showSection: "title" },
+        { criteria: "durationShort",            width: VLCStyle.colWidth(1), showSection: "", colDelegate: timeColDelegate, headerDelegate: 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: timeColDelegate, headerDelegate: timeHeaderDelegate },
         { isPrimary: true, criteria: "title",   width: VLCStyle.colWidth(4), text: i18n.qtr("Title"),    showSection: "title" },
+        { criteria: "durationShort",            width: VLCStyle.colWidth(1), showSection: "", colDelegate: timeColDelegate, headerDelegate: timeHeaderDelegate },
         { type: "contextButton",                width: VLCStyle.colWidth(1) }
     ]
 
-- 
2.25.1



More information about the vlc-devel mailing list