1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-09 07:36:48 +02:00

Don't call nam->setNetworkAccessible, which breaks network connectivity on Windows with Qt5.4.

This commit is contained in:
Christian Muehlhaeuser
2015-01-29 04:24:39 +01:00
parent 8e8240ada8
commit 1071a84fa9

View File

@@ -214,7 +214,8 @@ nam()
QNetworkAccessManager* newNam = new QNetworkAccessManager();
newNam->setConfiguration( QNetworkConfiguration( mainNam->configuration() ) );
newNam->setNetworkAccessible( mainNam->networkAccessible() );
// DISABLED: This breaks Windows builds, because mainNam always claims the network is inaccessible
// newNam->setNetworkAccessible( mainNam->networkAccessible() );
newNam->setProxyFactory( proxyFactory( false, true ) );
s_threadNamHash[ QThread::currentThread() ] = newNam;