From 2a44de8641b498f5023acaa225d3fad39fec5842 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Lindstr=C3=B6m?= Date: Thu, 12 Apr 2012 17:48:20 +0200 Subject: [PATCH] Prepare for JobStatus --- src/accounts/spotify/SpotifyAccount.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/accounts/spotify/SpotifyAccount.cpp b/src/accounts/spotify/SpotifyAccount.cpp index 989917f1c..0f157075e 100644 --- a/src/accounts/spotify/SpotifyAccount.cpp +++ b/src/accounts/spotify/SpotifyAccount.cpp @@ -338,6 +338,13 @@ SpotifyAccount::resolverMessage( const QString &msgType, const QVariantMap &msg updater->spotifyPlaylistRenamed( title, newRev, oldRev ); } + else if( msgType == "spotifyError" ) + { + const QString error = msg.value( "msg" ).toString(); + + qDebug() << Q_FUNC_INFO << " === GOT ERROR " << error; + /// @todo: send to jobview + } }