summaryrefslogtreecommitdiff
path: root/client/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'client/widgets')
-rw-r--r--client/widgets/checkgroupbox.cc4
-rw-r--r--client/widgets/checkgroupbox.h2
2 files changed, 3 insertions, 3 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();
diff --git a/client/widgets/checkgroupbox.h b/client/widgets/checkgroupbox.h
index db6a063..e526092 100644
--- a/client/widgets/checkgroupbox.h
+++ b/client/widgets/checkgroupbox.h
@@ -48,7 +48,7 @@ public:
void setChecked(bool checked);
public slots:
- void state_change(int);
+ void state_change(bool);
private:
QString truevalue;