summaryrefslogtreecommitdiffstats
path: root/pokemodr/RulesUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemodr/RulesUI.cpp')
-rw-r--r--pokemodr/RulesUI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/pokemodr/RulesUI.cpp b/pokemodr/RulesUI.cpp
index bb366b59..7c3a0080 100644
--- a/pokemodr/RulesUI.cpp
+++ b/pokemodr/RulesUI.cpp
@@ -28,10 +28,10 @@ RulesUI::RulesUI(Rules* rules, QWidget* parent) :
QMetaObject::connectSlotsByName(this);
setObjects(rules, new Rules(*rules));
connect(this, SIGNAL(changed(bool)), boxButtons, SLOT(setEnabled(bool)));
- connect(modified(), SIGNAL(error()), this, SLOT(setGui()));
+ connect(modified(), SIGNAL(error(const QString&)), this, SLOT(setGui()));
connect(modified(), SIGNAL(error(QString&)), this, SLOT(errorMessage(QString&)));
connect(modified(), SIGNAL(warning(QString&)), this, SLOT(warningMessage(QString&)));
- connect(modified(), SIGNAL(changed()), this, SIGNAL(changed(true)));
+ connect(modified(), SIGNAL(changed()), this, SLOT(setChanged()));
init();
}