mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-14 12:59:41 +01:00
* Fixed ws.cpp with Qt 4.8.
This commit is contained in:
parent
2c180c6123
commit
dcdb937cf3
4
thirdparty/liblastfm2/src/ws/ws.cpp
vendored
4
thirdparty/liblastfm2/src/ws/ws.cpp
vendored
@ -121,7 +121,9 @@ lastfm::ws::post( QMap<QString, QString> params, bool sk )
|
|||||||
+ '&';
|
+ '&';
|
||||||
}
|
}
|
||||||
|
|
||||||
return nam()->post( QNetworkRequest(baseUrl()), query );
|
QNetworkRequest req( baseUrl() );
|
||||||
|
req.setHeader( QNetworkRequest::ContentTypeHeader, "application/x-www-form-urlencoded" );
|
||||||
|
return nam()->post( req, query );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user