mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-12 17:14:00 +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:
@@ -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 ) );
|
||||
|
Reference in New Issue
Block a user