summaryrefslogtreecommitdiffstats
path: root/pokemodr/MapTrainerUI.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-05-15 19:55:43 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-05-15 19:55:43 +0000
commitfdd0eec1d145fb8ac97b4cc9aaed5218214416ec (patch)
tree2389a0d53fe3eaa644ccb220345995feec748823 /pokemodr/MapTrainerUI.cpp
parent77124f3f105ea3837022d20a49028309a211c4b0 (diff)
downloadsigen-fdd0eec1d145fb8ac97b4cc9aaed5218214416ec.tar.gz
sigen-fdd0eec1d145fb8ac97b4cc9aaed5218214416ec.tar.xz
sigen-fdd0eec1d145fb8ac97b4cc9aaed5218214416ec.zip
[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
Diffstat (limited to 'pokemodr/MapTrainerUI.cpp')
-rw-r--r--pokemodr/MapTrainerUI.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/pokemodr/MapTrainerUI.cpp b/pokemodr/MapTrainerUI.cpp
index 1ca6b1cd..30632013 100644
--- a/pokemodr/MapTrainerUI.cpp
+++ b/pokemodr/MapTrainerUI.cpp
@@ -33,10 +33,6 @@ MapTrainerUI::MapTrainerUI(MapTrainer* trainer, QWidget* parent) :
setupUi(this);
QMetaObject::connectSlotsByName(this);
setObjects(trainer, new MapTrainer(*trainer));
- connect(modified(), SIGNAL(error(const QString&)), this, SLOT(setGui()));
- connect(modified(), SIGNAL(error(const QString&)), this, SLOT(errorMessage(const QString&)));
- connect(modified(), SIGNAL(warning(const QString&)), this, SLOT(warningMessage(const QString&)));
- connect(modified(), SIGNAL(changed()), this, SLOT(setChanged()));
init();
}