Debug messages
authorunc0rr
Tue, 14 Dec 2010 21:04:43 +0300
changeset 4526 38afca1e4248
parent 4525 0a81be113e21
child 4527 d5d563a0ca54
child 4528 630f4ab0c926
Debug messages
QTfrontend/gamecfgwidget.cpp
QTfrontend/mapContainer.cpp
--- a/QTfrontend/gamecfgwidget.cpp	Tue Dec 14 20:46:50 2010 +0300
+++ b/QTfrontend/gamecfgwidget.cpp	Tue Dec 14 21:04:43 2010 +0300
@@ -433,6 +433,7 @@
 
 void GameCFGWidget::seedChanged(const QString & value)
 {
+    qDebug("GameCFGWidget::seedChanged");
     emit paramChanged("SEED", QStringList(value));
 }
 
@@ -533,7 +534,6 @@
 
 void GameCFGWidget::onDrawnMapChanged(const QByteArray & data)
 {
-    QStringList sl;
-    sl << QString(qCompress(data).toBase64());
-    emit paramChanged("DRAWNMAP", sl);
-}
\ No newline at end of file
+    qDebug("GameCFGWidget::onDrawnMapChanged");
+    emit paramChanged("DRAWNMAP", QStringList(qCompress(data).toBase64()));
+}
--- a/QTfrontend/mapContainer.cpp	Tue Dec 14 20:46:50 2010 +0300
+++ b/QTfrontend/mapContainer.cpp	Tue Dec 14 21:04:43 2010 +0300
@@ -562,7 +562,7 @@
 
 void HWMapContainer::mapDrawingFinished()
 {
-    changeImage();
+    emit drawnMapChanged(getDrawnMapData());
 
-    emit drawnMapChanged(getDrawnMapData());
+    changeImage();
 }
\ No newline at end of file