summaryrefslogtreecommitdiffstats
path: root/pokemodr/NatureUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemodr/NatureUI.cpp')
-rw-r--r--pokemodr/NatureUI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/pokemodr/NatureUI.cpp b/pokemodr/NatureUI.cpp
index 7a2a43e4..4915dc79 100644
--- a/pokemodr/NatureUI.cpp
+++ b/pokemodr/NatureUI.cpp
@@ -29,10 +29,10 @@ NatureUI::NatureUI(Nature* nature, QWidget* parent) :
QMetaObject::connectSlotsByName(this);
setObjects(nature, new Nature(*nature));
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();
}