summaryrefslogtreecommitdiff
path: root/client/widgets/checkgroupbox.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/widgets/checkgroupbox.cc')
-rw-r--r--client/widgets/checkgroupbox.cc4
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();