[vlc-devel] [PATCH 18/18] qml: change order of tabs in MusicDisplay

Prince Gupta guptaprince8832 at gmail.com
Thu Aug 20 14:15:41 CEST 2020


---
 modules/gui/qt/medialibrary/qml/MusicDisplay.qml | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/modules/gui/qt/medialibrary/qml/MusicDisplay.qml b/modules/gui/qt/medialibrary/qml/MusicDisplay.qml
index cd1eaccf53..e7b0bc0529 100644
--- a/modules/gui/qt/medialibrary/qml/MusicDisplay.qml
+++ b/modules/gui/qt/medialibrary/qml/MusicDisplay.qml
@@ -56,7 +56,7 @@ Widgets.NavigableFocusScope {
 
     //reset view
     function loadDefaultView() {
-        root.view = "albums"
+        root.view = "artists"
         root.viewProperties= ({})
     }
 
@@ -65,21 +65,21 @@ Widgets.NavigableFocusScope {
     }
 
     readonly property var pageModel: [{
-            displayText: i18n.qtr("Albums"),
-            name: "albums",
-            url: "qrc:///medialibrary/MusicAlbumsDisplay.qml"
-        }, {
             displayText: i18n.qtr("Artists"),
             name: "artists",
             url: "qrc:///medialibrary/MusicArtistsDisplay.qml"
         }, {
-            displayText: i18n.qtr("Genres"),
-            name: "genres" ,
-            url: "qrc:///medialibrary/MusicGenresDisplay.qml"
+            displayText: i18n.qtr("Albums"),
+            name: "albums",
+            url: "qrc:///medialibrary/MusicAlbumsDisplay.qml"
         }, {
             displayText: i18n.qtr("Tracks"),
             name: "tracks" ,
             url: "qrc:///medialibrary/MusicTracksDisplay.qml"
+        }, {
+            displayText: i18n.qtr("Genres"),
+            name: "genres" ,
+            url: "qrc:///medialibrary/MusicGenresDisplay.qml"
         }
     ]
 
-- 
2.25.1



More information about the vlc-devel mailing list