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:
parent
ba741fbce8
commit
b8fa2985d5
@ -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_);
|
||||
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user