QTfrontend/mapContainer.cpp
changeset 325 17c860483407
parent 320 1ee7f087195a
child 329 4c3aad46baa5
--- 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