1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-13 09:34:53 +02:00

hacky fix for Jreen needing the application proxy set. Really we need to

get them to accept their own QNAM
This commit is contained in:
Jeff Mitchell
2011-11-14 13:26:05 -05:00
parent d0e0d53ee7
commit 7badddb99c

View File

@@ -661,6 +661,8 @@ setNam( QNetworkAccessManager* nam, bool noMutexLocker )
tDebug( LOGEXTRA ) << "Setting proxy to saved values";
QNetworkProxy proxy( s->proxyType(), s->proxyHost(), s->proxyPort(), s->proxyUsername(), s->proxyPassword() );
proxyFactory->setProxy( proxy );
//FIXME: Jreen is broke without this
QNetworkProxy::setApplicationProxy( proxy );
}
if ( !s->proxyNoProxyHosts().isEmpty() )
proxyFactory->setNoProxyHosts( s->proxyNoProxyHosts().split( ',', QString::SkipEmptyParts ) );