Index: src/libLastFmTools/http.cpp =================================================================== --- src/libLastFmTools/http.cpp (revision 321) +++ src/libLastFmTools/http.cpp (working copy) @@ -26,6 +26,7 @@ #include #include +#include #ifdef WIN32 #include @@ -88,10 +89,15 @@ //TODO really this should be determined by an settingsservice key like autoDetectProxy() if (The::settings().isUseProxy()) { - setProxy( The::settings().getProxyHost(), - The::settings().getProxyPort(), - The::settings().getProxyUser(), - The::settings().getProxyPassword() ); + QNetworkProxy proxy; + + proxy.setType(QNetworkProxy::Socks5Proxy); + proxy.setHostName(The::settings().getProxyHost()); + proxy.setPort(The::settings().getProxyPort()); + proxy.setUser(The::settings().getProxyUser()); + proxy.setPassword(The::settings().getProxyPassword()); + + QNetworkProxy::setApplicationProxy(proxy); } else if (The::webService()->isAutoDetectedProxy()) { setProxy( The::webService()->proxyHost(),