QTfrontend/hwform.cpp
changeset 8504 9ff55b527d1b
parent 8489 25cb6f4a1d1b
child 8529 124b49fa408b
--- a/QTfrontend/hwform.cpp	Wed Feb 13 22:59:41 2013 +0400
+++ b/QTfrontend/hwform.cpp	Wed Feb 13 23:00:57 2013 +0400
@@ -1194,7 +1194,7 @@
 
     GoToPage(ID_PAGE_CONNECTING);
 
-    connect(hwnet, SIGNAL(AskForRunGame()), this, SLOT(CreateNetGame()));
+    connect(hwnet, SIGNAL(AskForRunGame()), this, SLOT(CreateNetGame()), Qt::QueuedConnection);
     connect(hwnet, SIGNAL(connected()), this, SLOT(NetConnected()), Qt::QueuedConnection);
     connect(hwnet, SIGNAL(Error(const QString&)), this, SLOT(NetError(const QString&)), Qt::QueuedConnection);
     connect(hwnet, SIGNAL(Warning(const QString&)), this, SLOT(NetWarning(const QString&)), Qt::QueuedConnection);
@@ -1234,8 +1234,9 @@
             hwnet, SLOT(askRoomsList()));
 
 // room status stuff
+// not queued because creates new signal/slot connection
     connect(hwnet, SIGNAL(roomMaster(bool)),
-            this, SLOT(NetGameChangeStatus(bool)), Qt::QueuedConnection);
+            this, SLOT(NetGameChangeStatus(bool)));
 
 // net page stuff
     connect(hwnet, SIGNAL(roomNameUpdated(const QString &)),