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