fix QMutex warning in tst_QLocalSocket::threadedConnection

Change-Id: I5728af1944e44bd976e51d4f0c0a923deacbeea0
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
Joerg Bornemann 2011-12-13 17:04:32 +01:00 committed by Qt by Nokia
parent 3bb0c88de8
commit 81a825ea9b

View File

@ -717,6 +717,7 @@ void tst_QLocalSocket::threadedConnection()
server.mutex.lock();
server.start();
server.wc.wait(&server.mutex);
server.mutex.unlock();
QList<Client*> clients;
for (int i = 0; i < threads; ++i) {