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

* Yet another final annoying win fix... :-/

This commit is contained in:
Christian Muehlhaeuser
2011-09-10 05:11:10 +02:00
parent 401f691359
commit 54f280f792

View File

@@ -106,7 +106,7 @@ lastfm::Pac::resolve(const QNetworkRequest &request, const wchar_t* pacUrl)
} }
opts.fAutoLogonIfChallenged = TRUE; opts.fAutoLogonIfChallenged = TRUE;
if (WinHttpGetProxyForUrl(m_hSession, (const WCHAR*)request.url().toString().utf16(), &opts, &info)) { /* if (WinHttpGetProxyForUrl(m_hSession, (const WCHAR*)request.url().toString().utf16(), &opts, &info)) {
if (info.lpszProxy) if (info.lpszProxy)
{ {
QList<QNetworkProxy> proxies = parsePacResult(QString::fromUtf16((const ushort*)info.lpszProxy)); QList<QNetworkProxy> proxies = parsePacResult(QString::fromUtf16((const ushort*)info.lpszProxy));
@@ -122,7 +122,7 @@ lastfm::Pac::resolve(const QNetworkRequest &request, const wchar_t* pacUrl)
} }
} else { } else {
m_bFailed = true; m_bFailed = true;
} }*/
} }
return out; return out;