--- a/QTfrontend/mapContainer.cpp Sat Jan 13 22:32:08 2007 +0000
+++ b/QTfrontend/mapContainer.cpp Sun Jan 14 11:58:08 2007 +0000
@@ -94,14 +94,17 @@
input >> theme;
mapCfgFile.close();
}
+ emit mapChanged(chooseMap->currentText());
}
void HWMapContainer::changeImage()
{
pMap = new HWMap();
connect(pMap, SIGNAL(ImageReceived(const QImage)), this, SLOT(setImage(const QImage)));
+ emit seedChanged(m_seed);
pMap->getImage(m_seed.toStdString());
theme = (Themes->size() > 0) ? Themes->at(rand() % Themes->size()) : "steel";
+ emit themeChanged(theme);
}
QString HWMapContainer::getCurrentSeed() const