SpotifyService: Use LoginError

This commit is contained in:
Jonas Kvinge 2024-08-24 19:29:00 +02:00
parent 368022ec43
commit 77e934beab

View File

@ -449,7 +449,7 @@ void SpotifyService::AccessTokenRequestFinished(QNetworkReply *reply) {
QJsonDocument json_doc = QJsonDocument::fromJson(data, &json_error);
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;
}