The Fix
authorunc0rr
Wed, 15 Dec 2010 21:40:16 +0300
changeset 4535 301df2c84b97
parent 4534 395278890955
child 4536 11bd8c7e4118
The Fix
QTfrontend/gamecfgwidget.cpp
QTfrontend/hwform.cpp
QTfrontend/newnetclient.cpp
--- a/QTfrontend/gamecfgwidget.cpp	Wed Dec 15 21:10:25 2010 +0300
+++ b/QTfrontend/gamecfgwidget.cpp	Wed Dec 15 21:40:16 2010 +0300
@@ -433,7 +433,6 @@
 
 void GameCFGWidget::seedChanged(const QString & value)
 {
-    qDebug("GameCFGWidget::seedChanged");
     emit paramChanged("SEED", QStringList(value));
 }
 
@@ -534,6 +533,5 @@
 
 void GameCFGWidget::onDrawnMapChanged(const QByteArray & data)
 {
-    qDebug("GameCFGWidget::onDrawnMapChanged");
     emit paramChanged("DRAWNMAP", QStringList(qCompress(data, 9).toBase64()));
 }
--- a/QTfrontend/hwform.cpp	Wed Dec 15 21:10:25 2010 +0300
+++ b/QTfrontend/hwform.cpp	Wed Dec 15 21:40:16 2010 +0300
@@ -436,7 +436,7 @@
     if(id == ID_PAGE_DRAWMAP)
     {
         DrawMapScene * scene;
-        if(lastid = ID_PAGE_MULTIPLAYER)
+        if(lastid == ID_PAGE_MULTIPLAYER)
             scene = ui.pageMultiplayer->gameCFG->pMapContainer->getDrawMapScene();
         else
             scene = ui.pageNetGame->pGameCFG->pMapContainer->getDrawMapScene();
@@ -445,7 +445,7 @@
     }
     if(lastid == ID_PAGE_DRAWMAP)
     {
-        if(id = ID_PAGE_MULTIPLAYER)
+        if(id == ID_PAGE_MULTIPLAYER)
             ui.pageMultiplayer->gameCFG->pMapContainer->mapDrawingFinished();
         else
             ui.pageNetGame->pGameCFG->pMapContainer->mapDrawingFinished();
@@ -875,7 +875,6 @@
 
 void HWForm::NetDisconnect()
 {
-    //qDebug("NetDisconnect");
     if(hwnet) {
         hwnet->Disconnect();
         delete hwnet;
--- a/QTfrontend/newnetclient.cpp	Wed Dec 15 21:10:25 2010 +0300
+++ b/QTfrontend/newnetclient.cpp	Wed Dec 15 21:40:16 2010 +0300
@@ -608,7 +608,6 @@
 
 void HWNewNet::onParamChanged(const QString & param, const QStringList & value)
 {
-    qDebug() << param;
     if (isChief)
         RawSendNet(
                 QString("CFG%1%2%1%3")