[vlc-commits] qml: put the video tab before the music tab
Adrien Maglo
git at videolan.org
Thu Jun 13 13:10:52 CEST 2019
vlc | branch: master | Adrien Maglo <magsoft at videolan.org> | Mon May 13 15:10:58 2019 +0200| [fce2524bb95b28d12394de68673fd8de6ccf1e5f] | committer: Thomas Guillem
qml: put the video tab before the music tab
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fce2524bb95b28d12394de68673fd8de6ccf1e5f
---
modules/gui/qt/qml/MainInterface.qml | 2 +-
modules/gui/qt/qml/mediacenter/MCMainDisplay.qml | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/modules/gui/qt/qml/MainInterface.qml b/modules/gui/qt/qml/MainInterface.qml
index d104fb44b5..c6ad268015 100644
--- a/modules/gui/qt/qml/MainInterface.qml
+++ b/modules/gui/qt/qml/MainInterface.qml
@@ -78,7 +78,7 @@ Rectangle {
Component.onCompleted: {
//set the initial view
if (medialib)
- history.push(["mc", "music", "albums"], History.Go)
+ history.push(["mc", "video"], History.Go)
else
history.push(["playlist"], History.Go)
}
diff --git a/modules/gui/qt/qml/mediacenter/MCMainDisplay.qml b/modules/gui/qt/qml/mediacenter/MCMainDisplay.qml
index b8ade228ea..72487fbe18 100644
--- a/modules/gui/qt/qml/mediacenter/MCMainDisplay.qml
+++ b/modules/gui/qt/qml/mediacenter/MCMainDisplay.qml
@@ -50,16 +50,16 @@ Utils.NavigableFocusScope {
readonly property var pageModel: [
{
- displayText: qsTr("Music"),
- pic: "qrc:///sidebar/music.svg",
- name: "music",
- component: musicComp
- }, {
displayText: qsTr("Video"),
pic: "qrc:///sidebar/movie.svg",
name: "video",
component: videoComp
}, {
+ displayText: qsTr("Music"),
+ pic: "qrc:///sidebar/music.svg",
+ name: "music",
+ component: musicComp
+ }, {
displayText: qsTr("Network"),
pic: "qrc:///sidebar/screen.svg",
name: "network",
More information about the vlc-commits
mailing list