[vlc-commits] commit: Qt, sprefs: link the systray options together (Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Sun Dec 19 20:34:34 CET 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Dec 19 20:20:23 2010 +0100| [4e60dedd06fa5eb3ecb980ed91f476a644ac8c15] | committer: Jean-Baptiste Kempf 

Qt, sprefs: link the systray options together

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

 modules/gui/qt4/components/simple_preferences.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index aa34012..4b54999 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -593,6 +593,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
             CONFIG_BOOL( "qt-fs-controller", fsController );
             CONFIG_BOOL( "qt-system-tray", systrayBox );
             CONFIG_BOOL( "qt-notification", sysPop );
+            CONNECT( ui.systrayBox, toggled( bool ), ui.sysPop, setEnabled( bool ) );
+
             CONFIG_BOOL( "playlist-tree", treePlaylist );
             CONFIG_GENERIC_FILE( "skins2-last", File, ui.skinFileLabel,
                                  ui.fileSkin, ui.skinBrowse );



More information about the vlc-commits mailing list