[vlc-commits] qml: change order of tabs in MusicDisplay

Prince Gupta git at videolan.org
Thu Aug 27 12:44:05 CEST 2020


vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Thu Aug 20 17:11:42 2020 +0530| [2c1d800afeb050748f50e82a4f94662138b43a85] | committer: Pierre Lamot

qml: change order of tabs in MusicDisplay

Signed-off-by: Pierre Lamot <pierre at videolabs.io>

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

 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"
         }
     ]
 



More information about the vlc-commits mailing list