summaryrefslogtreecommitdiffstats
path: root/pokemodr/CoinListUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemodr/CoinListUI.cpp')
-rw-r--r--pokemodr/CoinListUI.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/pokemodr/CoinListUI.cpp b/pokemodr/CoinListUI.cpp
index 9095dffd..7de83bdc 100644
--- a/pokemodr/CoinListUI.cpp
+++ b/pokemodr/CoinListUI.cpp
@@ -40,7 +40,7 @@ CoinListUI::CoinListUI(CoinList* c, QWidget* parent) :
setupUi(this);
QMetaObject::connectSlotsByName(this);
setObjects(coinList, coinList_mod);
- connect(this, SIGNAL(setChanged(bool)), boxButtons, SLOT(setDisabled(bool)));
+ connect(this, SIGNAL(changed(bool)), boxButtons, SLOT(setDisabled(bool)));
for (int i = 0; i < coinList->getPokemod()->getItemCount(); ++i)
{
const Item* it = coinList->getPokemod()->getItem(i);
@@ -71,20 +71,20 @@ void CoinListUI::setGui()
void CoinListUI::on_buttonApply_clicked()
{
*coinList = *coinList_mod;
- emit(setChanged(false));
+ emit(changed(false));
}
void CoinListUI::on_buttonDiscard_clicked()
{
*coinList_mod = *coinList;
- emit(setChanged(false));
+ emit(changed(false));
setGui();
}
void CoinListUI::on_varName_textChanged(const QString& n)
{
coinList_mod->setName(n);
- emit(setChanged(true));
+ emit(changed(true));
}
void CoinListUI::on_varValue_currentIndexChanged(const int v)
@@ -92,7 +92,7 @@ void CoinListUI::on_varValue_currentIndexChanged(const int v)
try
{
coinList_mod->setValue(varValue->itemData(v).toInt());
- emit(setChanged(true));
+ emit(changed(true));
}
catch (Exception& e)
{