vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | 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; } } _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
