[vlc-commits] qml: expose audio devices in audio menu

Sagar Kohli git at videolan.org
Sun Jul 28 08:43:45 CEST 2019


vlc | branch: master | Sagar Kohli <kohli.sagar2 at gmail.com> | Wed Jul 17 04:00:45 2019 +0530| [33e4bc998bfd3cc30e301b52545e62146cd54ad1] | committer: Jean-Baptiste Kempf

qml: expose audio devices in audio menu

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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");



More information about the vlc-commits mailing list