1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-12 00:54:20 +02:00

Move all sockets to the Servent thread.

This commit is contained in:
Uwe L. Korn
2013-06-10 15:42:15 +02:00
committed by Michael Zanetti
parent c248ebb9e0
commit 0a4a281027

View File

@@ -309,7 +309,7 @@ void ConnectionManager::tryConnect()
peerInfoDebug( d_func()->currentPeerInfo ) << Q_FUNC_INFO << "Connecting socket to " << info.host() << ":" << info.port();
sock->connectToHost( info.host(), info.port(), QTcpSocket::ReadWrite );
sock->moveToThread( thread() );
sock->moveToThread( Servent::instance()->thread() );
}
void