1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-11 00:24:12 +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
parent f805b267fd
commit 25d6f59cc3

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