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

Sagar Kohli kohli.sagar2 at gmail.com
Wed Jul 17 00:12:45 CEST 2019


---
 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