From 24270ef9f36fc68ff01f548765fe8560eb9b8a04 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Wed, 16 Sep 2009 12:08:40 +0000 Subject: [PATCH] enable disable spinbox when we change checkbox state svn path=/trunk/KDE/kdebase/workspace/; revision=1024342 --- kcmkwin/kwindesktop/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kcmkwin/kwindesktop/main.cpp b/kcmkwin/kwindesktop/main.cpp index 6158f3ee79..121c73da78 100644 --- a/kcmkwin/kwindesktop/main.cpp +++ b/kcmkwin/kwindesktop/main.cpp @@ -175,6 +175,8 @@ void KWinDesktopConfig::init() connect( m_ui->activityCheckBox, SIGNAL(stateChanged(int)), SLOT(changed())); connect( m_ui->desktopNames, SIGNAL(changed()), SLOT(changed())); connect( m_ui->popupInfoCheckBox, SIGNAL(toggled(bool)), SLOT(changed())); + connect( m_ui->popupInfoCheckBox, SIGNAL(toggled(bool)), m_ui->popupHideSpinBox, SLOT(setEnabled(bool))); + connect( m_ui->popupInfoCheckBox, SIGNAL(toggled(bool)), m_ui->hideLabel, SLOT(setEnabled(bool))); connect( m_ui->popupHideSpinBox, SIGNAL(valueChanged(int)), SLOT(changed())); connect( m_editor, SIGNAL(keyChange()), SLOT(changed())); connect( m_ui->allShortcutsCheckBox, SIGNAL(stateChanged(int)), SLOT(slotShowAllShortcuts()));