1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-31 09:44:50 +01:00

Fix Tidal SendLogin signal

This commit is contained in:
Jonas Kvinge 2019-05-20 19:14:33 +02:00
parent ba741fbce8
commit b8fa2985d5
2 changed files with 3 additions and 3 deletions

View File

@ -95,7 +95,7 @@ TidalService::TidalService(Application *app, QObject *parent)
connect(timer_login_attempt_, SIGNAL(timeout()), SLOT(ResetLoginAttempts()));
connect(this, SIGNAL(Login()), SLOT(SendLogin()));
connect(this, SIGNAL(Login(QString, QString)), SLOT(SendLogin(QString, QString)));
connect(this, SIGNAL(Login(QString, QString, QString)), SLOT(SendLogin(QString, QString, QString)));
app->player()->RegisterUrlHandler(url_handler_);
@ -466,7 +466,7 @@ void TidalService::StartSearch() {
search_text_ = pending_search_text_;
if (authenticated()) SendSearch();
else emit Login(username_, password_);
else emit Login(username_, password_, token_);
}

View File

@ -70,7 +70,7 @@ class TidalService : public InternetService {
signals:
void Login();
void Login(const QString &username, const QString &password);
void Login(const QString &username, const QString &password, const QString &token);
void LoginSuccess();
void LoginFailure(QString failure_reason);
void SearchResults(int id, SongList songs);