[vlc-devel] [PATCH 3/3] qml: expose audio devices in audio menu

kohli.sagar2 at gmail.com kohli.sagar2 at gmail.com
Tue Jun 25 22:59:56 CEST 2019


From: Sagar Kohli <kohli.sagar2 at gmail.com>

---
 modules/gui/qt/qml/menus/AudioMenu.qml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/modules/gui/qt/qml/menus/AudioMenu.qml b/modules/gui/qt/qml/menus/AudioMenu.qml
index 689b00ee49..b0eb823bbb 100644
--- a/modules/gui/qt/qml/menus/AudioMenu.qml
+++ b/modules/gui/qt/qml/menus/AudioMenu.qml
@@ -27,11 +27,10 @@ Utils.MenuExt {
         model: player.audioTracks
     }
 
-    /* FIXME port to QML
-    Menu {
+    CheckableModelSubMenu {
         title: qsTr("Audio &Device")
+        model: player.audioDevices
     }
-    */
 
     CheckableModelSubMenu {
         title: qsTr("&Stereo Mode");
-- 
2.17.1



More information about the vlc-devel mailing list