mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-04 13:17:34 +02:00
* Fixed win32 compile.
This commit is contained in:
@@ -50,7 +50,7 @@ static struct NetworkAccessManagerInit
|
|||||||
// at two seconds, so that hangs startup
|
// at two seconds, so that hangs startup
|
||||||
if (!s.fAutoDetect && s.lpszProxy)
|
if (!s.fAutoDetect && s.lpszProxy)
|
||||||
{
|
{
|
||||||
QUrl url( QString::fromUtf16(s.lpszProxy) );
|
QUrl url( QString::fromUtf16((const unsigned short*)s.lpszProxy) );
|
||||||
QNetworkProxy proxy( QNetworkProxy::HttpProxy );
|
QNetworkProxy proxy( QNetworkProxy::HttpProxy );
|
||||||
proxy.setHostName( url.host() );
|
proxy.setHostName( url.host() );
|
||||||
proxy.setPort( url.port() );
|
proxy.setPort( url.port() );
|
||||||
|
Reference in New Issue
Block a user