Commit 3d76bf88 authored by Arnold Dumas's avatar Arnold Dumas

Don't crash when clicking on a music when the network is unavailable and the scrobbling is set up.

REVIEW: 117334
BUG: 332963
parent 536b5588
......@@ -318,6 +318,10 @@ void Scrobbler::scrobble()
void Scrobbler::post(QMap<QString, QString> &params)
{
if(!m_networkAccessManager) {
return;
}
QUrl url("http://ws.audioscrobbler.com/2.0/");
QByteArray data;
......
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