[vlc-commits] Win32: add the volume media keys to SPrefs
Jean-Baptiste Kempf
git at videolan.org
Sat Mar 19 13:16:24 CET 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Mar 19 13:16:05 2011 +0100| [4390c31a0ade28f9938e44ef1d5c20885659bffc] | committer: Jean-Baptiste Kempf
Win32: add the volume media keys to SPrefs
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4390c31a0ade28f9938e44ef1d5c20885659bffc
---
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 0a509fd..f54b433 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -687,6 +687,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