Commit 4e60dedd authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt, sprefs: link the systray options together

parent a69e27f6
...@@ -593,6 +593,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, ...@@ -593,6 +593,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONFIG_BOOL( "qt-fs-controller", fsController ); CONFIG_BOOL( "qt-fs-controller", fsController );
CONFIG_BOOL( "qt-system-tray", systrayBox ); CONFIG_BOOL( "qt-system-tray", systrayBox );
CONFIG_BOOL( "qt-notification", sysPop ); CONFIG_BOOL( "qt-notification", sysPop );
CONNECT( ui.systrayBox, toggled( bool ), ui.sysPop, setEnabled( bool ) );
CONFIG_BOOL( "playlist-tree", treePlaylist ); CONFIG_BOOL( "playlist-tree", treePlaylist );
CONFIG_GENERIC_FILE( "skins2-last", File, ui.skinFileLabel, CONFIG_GENERIC_FILE( "skins2-last", File, ui.skinFileLabel,
ui.fileSkin, ui.skinBrowse ); ui.fileSkin, ui.skinBrowse );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment