summaryrefslogtreecommitdiffstats
path: root/pokemodr/EggGroupUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemodr/EggGroupUI.cpp')
-rw-r--r--pokemodr/EggGroupUI.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/pokemodr/EggGroupUI.cpp b/pokemodr/EggGroupUI.cpp
index 56459d83..382f78f9 100644
--- a/pokemodr/EggGroupUI.cpp
+++ b/pokemodr/EggGroupUI.cpp
@@ -32,7 +32,7 @@ EggGroupUI::EggGroupUI(EggGroup* e, QWidget* parent) :
setupUi(this);
QMetaObject::connectSlotsByName(this);
setObjects(eggGroup, eggGroup_mod);
- connect(this, SIGNAL(setChanged(bool)), boxButtons, SLOT(setDisabled(bool)));
+ connect(this, SIGNAL(changed(bool)), boxButtons, SLOT(setDisabled(bool)));
setGui();
}
@@ -49,18 +49,18 @@ void EggGroupUI::setGui()
void EggGroupUI::on_buttonApply_clicked()
{
*eggGroup = *eggGroup_mod;
- emit(setChanged(false));
+ emit(changed(false));
}
void EggGroupUI::on_buttonDiscard_clicked()
{
*eggGroup_mod = *eggGroup;
- emit(setChanged(false));
+ emit(changed(false));
setGui();
}
void EggGroupUI::on_varName_textChanged(const QString& n)
{
eggGroup_mod->setName(n);
- emit(setChanged(true));
+ emit(changed(true));
}