multiple classes accept signal receive bugfix
authordisplacer
Sat, 14 Oct 2006 13:13:51 +0000
changeset 197 8a7123b84d1b
parent 196 993cf173218b
child 198 6f00e0f4cb88
multiple classes accept signal receive bugfix
QTfrontend/tcpBase.cpp
--- a/QTfrontend/tcpBase.cpp	Thu Oct 12 18:52:00 2006 +0000
+++ b/QTfrontend/tcpBase.cpp	Sat Oct 14 13:13:51 2006 +0000
@@ -41,7 +41,6 @@
 			    .arg(IPCServer->errorString()));
     }
   }
-  connect(IPCServer, SIGNAL(newConnection()), this, SLOT(NewConnection()));
 }
 
 void TCPBase::NewConnection()
@@ -60,6 +59,7 @@
 
 void TCPBase::RealStart()
 {
+  connect(IPCServer, SIGNAL(newConnection()), this, SLOT(NewConnection()));
   IPCSocket = 0;
   
   QProcess * process;