summaryrefslogtreecommitdiffstats
path: root/pokemodr/StoreUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemodr/StoreUI.cpp')
-rw-r--r--pokemodr/StoreUI.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/pokemodr/StoreUI.cpp b/pokemodr/StoreUI.cpp
index eae6c201..7259058c 100644
--- a/pokemodr/StoreUI.cpp
+++ b/pokemodr/StoreUI.cpp
@@ -41,7 +41,7 @@ StoreUI::StoreUI(Store* s, QWidget* parent) :
setupUi(this);
QMetaObject::connectSlotsByName(this);
setObjects(store, store_mod);
- connect(this, SIGNAL(setChanged(bool)), boxButtons, SLOT(setDisabled(bool)));
+ connect(this, SIGNAL(changed(bool)), boxButtons, SLOT(setDisabled(bool)));
for (int i = 0; i < store->getPokemod()->getItemCount(); ++i)
{
const Item* it = store->getPokemod()->getItem(i);
@@ -69,20 +69,20 @@ void StoreUI::setGui()
void StoreUI::on_buttonApply_clicked()
{
*store = *store_mod;
- emit(setChanged(false));
+ emit(changed(false));
}
void StoreUI::on_buttonDiscard_clicked()
{
*store_mod = *store;
- emit(setChanged(false));
+ emit(changed(false));
setGui();
}
void StoreUI::on_varName_textChanged(const QString& n)
{
store_mod->setName(n);
- emit(setChanged(true));
+ emit(changed(true));
}
void StoreUI::on_varItems_itemSelectionChanged()
@@ -94,7 +94,7 @@ void StoreUI::on_varItems_itemSelectionChanged()
const QListWidgetItem* lwi = varItems->item(i);
store_mod->setItem(lwi->data(Qt::UserRole).toInt(), lwi->isSelected());
}
- emit(setChanged(true));
+ emit(changed(true));
}
catch (BoundsException& e)
{