mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 19:30:21 +02:00
* Fixed ws.cpp with Qt 4.8.
This commit is contained in:
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 );
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user