1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-17 02:59:03 +01:00

Fix AuthError function

This commit is contained in:
Jonas Kvinge 2020-05-09 02:07:51 +02:00
parent 7bccc21878
commit 2f2de59234

View File

@ -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_);