summaryrefslogtreecommitdiffstats
path: root/pokemodr/PokemodUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemodr/PokemodUI.cpp')
-rw-r--r--pokemodr/PokemodUI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/pokemodr/PokemodUI.cpp b/pokemodr/PokemodUI.cpp
index 788df1b4..76059e5b 100644
--- a/pokemodr/PokemodUI.cpp
+++ b/pokemodr/PokemodUI.cpp
@@ -36,10 +36,10 @@ PokemodUI::PokemodUI(Pokemod* pokemod, QWidget* parent) :
QMetaObject::connectSlotsByName(this);
setObjects(pokemod, new Pokemod(*pokemod));
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();
}