[vlc-commits] commit: Qt, sprefs: small fix for initial state (Jean-Baptiste Kempf )
git at videolan.org
git at videolan.org
Mon Dec 20 00:25:15 CET 2010
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Dec 20 00:24:56 2010 +0100| [886d603ed3deab432f826beee9437831c8d67d4e] | committer: Jean-Baptiste Kempf
Qt, sprefs: small fix for initial state
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=886d603ed3deab432f826beee9437831c8d67d4e
---
modules/gui/qt4/components/simple_preferences.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index f95ecda..3d01563 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -1,7 +1,7 @@
/*****************************************************************************
* simple_preferences.cpp : "Simple preferences"
****************************************************************************
- * Copyright (C) 2006-2008 the VideoLAN team
+ * Copyright (C) 2006-2010 the VideoLAN team
* $Id$
*
* Authors: Clément Stenac <zorglub at videolan.org>
@@ -594,6 +594,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONFIG_BOOL( "qt-system-tray", systrayBox );
CONFIG_BOOL( "qt-notification", sysPop );
CONNECT( ui.systrayBox, toggled( bool ), ui.sysPop, setEnabled( bool ) );
+ ui.sysPop->setEnabled( ui.systrayBox->isChecked() );
CONFIG_BOOL( "playlist-tree", treePlaylist );
CONFIG_GENERIC_FILE( "skins2-last", File, ui.skinFileLabel,
More information about the vlc-commits
mailing list