SpotifyService: Use LoginError
This commit is contained in:
parent
368022ec43
commit
77e934beab
@ -449,7 +449,7 @@ void SpotifyService::AccessTokenRequestFinished(QNetworkReply *reply) {
|
|||||||
QJsonDocument json_doc = QJsonDocument::fromJson(data, &json_error);
|
QJsonDocument json_doc = QJsonDocument::fromJson(data, &json_error);
|
||||||
|
|
||||||
if (json_error.error != QJsonParseError::NoError) {
|
if (json_error.error != QJsonParseError::NoError) {
|
||||||
Error(QStringLiteral("Failed to parse Json data in authentication reply: %1").arg(json_error.errorString()));
|
LoginError(QStringLiteral("Failed to parse Json data in authentication reply: %1").arg(json_error.errorString()));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user