1
0
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:
Christian Muehlhaeuser 2011-09-10 04:38:31 +02:00
parent 030b91ba9f
commit 1540b7b5bf

View File

@ -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() );