summaryrefslogtreecommitdiffstats
path: root/sigmodr
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-03-20 01:41:30 -0400
committerBen Boeckel <MathStuf@gmail.com>2009-03-20 01:41:30 -0400
commitaaf1dd5c236ab8f22cf7297ce61f9aa9fa63bc5f (patch)
tree558900d83a26a428bdfa28e96cc806efc69c7794 /sigmodr
parent42f4df80fc0a4b1188377c8b776e2938de692b84 (diff)
downloadsigen-aaf1dd5c236ab8f22cf7297ce61f9aa9fa63bc5f.tar.gz
sigen-aaf1dd5c236ab8f22cf7297ce61f9aa9fa63bc5f.tar.xz
sigen-aaf1dd5c236ab8f22cf7297ce61f9aa9fa63bc5f.zip
Connect the signal after adding th items
Diffstat (limited to 'sigmodr')
-rw-r--r--sigmodr/widgets/MapScene.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sigmodr/widgets/MapScene.cpp b/sigmodr/widgets/MapScene.cpp
index 719a70e9..2f1a853b 100644
--- a/sigmodr/widgets/MapScene.cpp
+++ b/sigmodr/widgets/MapScene.cpp
@@ -50,7 +50,6 @@ MapScene::MapScene(Map* map, QObject* parent) :
m_map(map),
m_tileBox(new KComboBox)
{
- connect(this, SIGNAL(changed(QList<QRectF>)), this, SIGNAL(changed()));
for (int i = 0; i < m_map->effectCount(); ++i)
{
MapEffect* effect = m_map->effect(i);
@@ -93,6 +92,7 @@ MapScene::MapScene(Map* map, QObject* parent) :
maxHeight = qMax(maxHeight, pixmap.height());
}
m_tileBox->setIconSize(QSize(maxWidth, maxHeight));
+ connect(this, SIGNAL(changed(QList<QRectF>)), this, SIGNAL(changed()));
}
MapScene::~MapScene()