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:
4
thirdparty/liblastfm2/src/ws/win/Pac.cpp
vendored
4
thirdparty/liblastfm2/src/ws/win/Pac.cpp
vendored
@@ -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;
|
||||||
|
Reference in New Issue
Block a user