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:
@@ -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
|
||||
|
Reference in New Issue
Block a user