mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-24 16:31:22 +01:00
Actually start authorisation against Dropbox when login clicked.
This commit is contained in:
parent
cb14952e25
commit
821405cdd2
@ -34,7 +34,6 @@ DropboxSettingsPage::DropboxSettingsPage(SettingsDialog* parent)
|
||||
|
||||
connect(ui_->login_button, SIGNAL(clicked()), SLOT(LoginClicked()));
|
||||
connect(ui_->login_state, SIGNAL(LogoutClicked()), SLOT(LogoutClicked()));
|
||||
connect(service_, SIGNAL(Connected()), SLOT(Connected()));
|
||||
|
||||
dialog()->installEventFilter(this);
|
||||
}
|
||||
@ -67,6 +66,7 @@ void DropboxSettingsPage::LoginClicked() {
|
||||
NewClosure(authenticator, SIGNAL(Finished()),
|
||||
service_, SLOT(AuthenticationFinished(DropboxAuthenticator*)),
|
||||
authenticator);
|
||||
authenticator->StartAuthorisation();
|
||||
|
||||
ui_->login_button->setEnabled(false);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user