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