equal
deleted
inserted
replaced
249 } |
249 } |
250 } |
250 } |
251 |
251 |
252 void TCPBase::tcpServerReady() |
252 void TCPBase::tcpServerReady() |
253 { |
253 { |
254 disconnect(srvsList.first(), SIGNAL(isReadyNow()), this, SLOT(tcpServerReady())); |
254 if (!srvsList.isEmpty()) |
255 |
255 { |
256 RealStart(); |
256 disconnect(srvsList.first(), SIGNAL(isReadyNow()), this, SLOT(tcpServerReady())); |
|
257 RealStart(); |
|
258 } |
|
259 else |
|
260 { |
|
261 qDebug("tcpServerReady() called while srvsList was empty. Not starting TCP server"); |
|
262 } |
257 } |
263 } |
258 |
264 |
259 void TCPBase::Start(bool couldCancelPreviousRequest) |
265 void TCPBase::Start(bool couldCancelPreviousRequest) |
260 { |
266 { |
261 if(srvsList.isEmpty()) |
267 if(srvsList.isEmpty()) |