From 2f2de592347dddd117f7c1f605fbee3f0332e8db Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sat, 9 May 2020 02:07:51 +0200 Subject: [PATCH] Fix AuthError function --- src/lyrics/geniuslyricsprovider.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lyrics/geniuslyricsprovider.cpp b/src/lyrics/geniuslyricsprovider.cpp index 470e370bb..f3eb9ecc8 100644 --- a/src/lyrics/geniuslyricsprovider.cpp +++ b/src/lyrics/geniuslyricsprovider.cpp @@ -498,9 +498,7 @@ void GeniusLyricsProvider::AuthError(const QString &error, const QVariant &debug if (!error.isEmpty()) login_errors_ << error; - for (const QString &e : login_errors_) { - Error(0, e); - } + for (const QString &e : login_errors_) Error(e); if (debug.isValid()) qLog(Debug) << debug; emit AuthenticationFailure(login_errors_);