[vlc-commits] qml: use MainMenubar from Menu component in no-ml mode

Pierre Lamot git at videolan.org
Sun Jul 28 08:43:47 CEST 2019


vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Wed Jul 17 13:25:23 2019 +0200| [751df8a320be05d08bf52a08237bdf5df1c6fa7c] | committer: Jean-Baptiste Kempf

qml: use MainMenubar from Menu component in no-ml mode

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

 modules/gui/qt/qml/playlist/PlaylistMainView.qml | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/modules/gui/qt/qml/playlist/PlaylistMainView.qml b/modules/gui/qt/qml/playlist/PlaylistMainView.qml
index 1bf3619ce7..b60c53d474 100644
--- a/modules/gui/qt/qml/playlist/PlaylistMainView.qml
+++ b/modules/gui/qt/qml/playlist/PlaylistMainView.qml
@@ -36,16 +36,7 @@ Utils.NavigableFocusScope {
         ColumnLayout {
             anchors.fill: parent
 
-            MenuBar {
-                Menus.MediaMenu { title: qsTr("&Media") }
-                Menus.PlaybackMenu { title: qsTr("&Playback") }
-                Menus.AudioMenu { title: qsTr("&Audio") }
-                Menus.VideoMenu { title: qsTr("&Video") }
-                Menus.SubtitleMenu { title: qsTr("&Subtitle") }
-                Menus.ToolsMenu { title: qsTr("&Tools") }
-                Menus.ViewMenu { title: qsTr("V&iew") }
-                Menus.HelpMenu { title: qsTr("&Help") }
-
+            Menus.MainMenubar {
                 Layout.fillWidth: true
             }
 



More information about the vlc-commits mailing list