diff options
author | deva <deva> | 2011-03-10 15:08:20 +0000 |
---|---|---|
committer | deva <deva> | 2011-03-10 15:08:20 +0000 |
commit | 2c255b25f88e1fe401a81ba53af5f217b21eeb43 (patch) | |
tree | 3956ed41d93e22e2e1bfc8f8be9c5b7b8578ae37 /client/widgets/checkgroupbox.cc | |
parent | 3b4966ef4dbabbbc0fcb62b7b1a52ad9f327de1d (diff) |
Fix broken state_change SLOT.
Diffstat (limited to 'client/widgets/checkgroupbox.cc')
-rw-r--r-- | client/widgets/checkgroupbox.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/widgets/checkgroupbox.cc b/client/widgets/checkgroupbox.cc index becb151..8020a45 100644 --- a/client/widgets/checkgroupbox.cc +++ b/client/widgets/checkgroupbox.cc @@ -69,7 +69,7 @@ CheckGroupBox::CheckGroupBox(QDomNode &node, MacroWindow *macrowindow) falsevalue = "false"; } - connect(groupbox, SIGNAL(stateChanged(int)), this, SLOT(state_change(int))); + connect(groupbox, SIGNAL(toggled(bool)), this, SLOT(state_change(bool))); } CheckGroupBox::~CheckGroupBox() @@ -107,7 +107,7 @@ void CheckGroupBox::setValue(QString value, QString source) changedByUser = true; } -void CheckGroupBox::state_change(int) +void CheckGroupBox::state_change(bool) { emit eventOnChange(); if(changedByUser) emit wasChanged(); |