From fdd0eec1d145fb8ac97b4cc9aaed5218214416ec Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 15 May 2008 19:55:43 +0000 Subject: [FIX] Refactored out connections made within widgets [FIX] Flag, Fractiona, and Point widgets fixed to only emit signals when actually changed [FIX] Pokemod classes now emit signals git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@138 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokemod/CoinListObject.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pokemod/CoinListObject.cpp') diff --git a/pokemod/CoinListObject.cpp b/pokemod/CoinListObject.cpp index c9ae4423..3eb44e91 100644 --- a/pokemod/CoinListObject.cpp +++ b/pokemod/CoinListObject.cpp @@ -86,6 +86,7 @@ void CoinListObject::setType(const int type) } m_type = type; m_object = INT_MAX; + emit(changed()); } void CoinListObject::setObject(const int object) @@ -96,6 +97,7 @@ void CoinListObject::setObject(const int object) return; } m_object = object; + emit(changed()); } void CoinListObject::setAmount(const int amount) @@ -106,11 +108,13 @@ void CoinListObject::setAmount(const int amount) return; } m_amount = amount; + emit(changed()); } void CoinListObject::setCost(const int cost) { m_cost = cost; + emit(changed()); } int CoinListObject::type() const -- cgit