Commit 810eaaca authored by Dennis Nienhüser's avatar Dennis Nienhüser Committed by Bernhard Beschow
Browse files

Set content-type, Qt 4.8 guesses a wrong default one otherwise.

(cherry picked from commit e24a3888)
parent 4957d88e
......@@ -86,6 +86,7 @@ void OpenRouteServiceRunner::retrieveRoute( const RouteRequest *route )
// of marble you need permission from the team.
QUrl url = QUrl( "" );
m_request = QNetworkRequest( url );
m_request.setHeader( QNetworkRequest::ContentTypeHeader, "application/xml" );
m_requestData = request.toLatin1();
QEventLoop eventLoop;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment