[vlc-commits] Win32: add the volume media keys to SPrefs
Jean-Baptiste Kempf
git at videolan.org
Sat Mar 19 13:19:35 CET 2011
vlc/vlc-1.1 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Mar 19 13:16:05 2011 +0100| [9bbd50325b5fb7af18d76ea9473187abe702f976] | committer: Jean-Baptiste Kempf
Win32: add the volume media keys to SPrefs
(cherry picked from commit 4390c31a0ade28f9938e44ef1d5c20885659bffc)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=9bbd50325b5fb7af18d76ea9473187abe702f976
---
modules/gui/qt4/components/simple_preferences.cpp | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index 1c0ac7b..1abba19 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -667,6 +667,14 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
p_config, this, false, gLayout, line );
controls.append( control );
+#ifdef WIN32
+ line++;
+
+ p_config = config_FindConfig( VLC_OBJECT(p_intf), "qt-disable-volume-keys" );
+ control = new BoolConfigControl( VLC_OBJECT(p_intf), p_config, this, gLayout, line );
+ controls.append( control );
+#endif
+
break;
}
}
More information about the vlc-commits
mailing list