mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-17 02:59:03 +01:00
Fix AuthError function
This commit is contained in:
parent
7bccc21878
commit
2f2de59234
@ -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_);
|
||||
|
Loading…
Reference in New Issue
Block a user