From d7bc310363c98994457e7882e7010e276169f00a Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Sat, 23 Feb 2008 03:40:24 +0000 Subject: [FIX] Frac bug with type of Over1 [FIX] PokemodUI vtable errors [FIX] Manual .pro file clean up [FIX] Was attempting to emit a slot... git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@72 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokemodr/CoinListObjectUI.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'pokemodr/CoinListObjectUI.cpp') diff --git a/pokemodr/CoinListObjectUI.cpp b/pokemodr/CoinListObjectUI.cpp index 71b9f075..da333fe0 100644 --- a/pokemodr/CoinListObjectUI.cpp +++ b/pokemodr/CoinListObjectUI.cpp @@ -41,7 +41,7 @@ CoinListObjectUI::CoinListObjectUI(CoinListObject* c, QWidget* parent) : setupUi(this); QMetaObject::connectSlotsByName(this); setObjects(coinListObject, coinListObject_mod); - connect(this, SIGNAL(setChanged(bool)), boxButtons, SLOT(setDisabled(bool))); + connect(this, SIGNAL(changed(bool)), boxButtons, SLOT(setDisabled(bool))); varType->addItems(CoinListObject::TypeStr); setGui(); } @@ -86,13 +86,13 @@ void CoinListObjectUI::setGui() void CoinListObjectUI::on_buttonApply_clicked() { *coinListObject = *coinListObject_mod; - emit(setChanged(false)); + emit(changed(false)); } void CoinListObjectUI::on_buttonDiscard_clicked() { *coinListObject_mod = *coinListObject; - emit(setChanged(false)); + emit(changed(false)); setGui(); } @@ -101,7 +101,7 @@ void CoinListObjectUI::on_varType_currentIndexChanged(const int t) try { coinListObject_mod->setType(t); - emit(setChanged(true)); + emit(changed(true)); } catch (BoundsException& e) { @@ -115,7 +115,7 @@ void CoinListObjectUI::on_varObject_currentIndexChanged(const int o) try { coinListObject_mod->setObject(varObject->itemData(o).toInt()); - emit(setChanged(true)); + emit(changed(true)); } catch (BoundsException& e) { @@ -129,7 +129,7 @@ void CoinListObjectUI::on_varAmount_valueChanged(const int a) try { coinListObject_mod->setAmount(a); - emit(setChanged(true)); + emit(changed(true)); } catch (BoundsException& e) { @@ -143,7 +143,7 @@ void CoinListObjectUI::on_varCost_valueChanged(const int c) try { coinListObject_mod->setCost(c); - emit(setChanged(true)); + emit(changed(true)); } catch (BoundsException& e) { -- cgit