diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2022-07-06 11:07:47 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2022-07-06 15:49:06 +0300 |
commit | e4d343ea784d7852fc6116a09c4734b23a9ae527 (patch) | |
tree | 6458d72c10ea7ae49d224d6b4226e508ef5ff83f | |
parent | 0318e3c708005c40421bebd59567736b08aa4bc5 (diff) |
Fix regression introduced in 6890ef92d3b19e48d3859e05598e5617c1abef2b
-rw-r--r-- | src/gui/newwizard/states/oauthcredentialssetupwizardstate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/newwizard/states/oauthcredentialssetupwizardstate.cpp b/src/gui/newwizard/states/oauthcredentialssetupwizardstate.cpp index 686be075c..9658c6172 100644 --- a/src/gui/newwizard/states/oauthcredentialssetupwizardstate.cpp +++ b/src/gui/newwizard/states/oauthcredentialssetupwizardstate.cpp @@ -29,7 +29,7 @@ OAuthCredentialsSetupWizardState::OAuthCredentialsSetupWizardState(SetupWizardCo // username might not be set yet, shouldn't matter, though auto oAuth = new OAuth(_context->accountBuilder().serverUrl(), QString(), _context->accessManager(), {}, this); - connect(oAuth, &OAuth::result, this, [this, oAuthCredentialsPage](OAuth::Result result, const QString &userName, const QString &token, const QString &displayName, const QString &refreshToken) { + connect(oAuth, &OAuth::result, this, [this, oAuthCredentialsPage](OAuth::Result result, const QString &userName, const QString &token, const QString &refreshToken, const QString &displayName) { // the button may not be clicked anymore, since the server has been shut down right before this signal was emitted by the OAuth instance oAuthCredentialsPage->disableButtons(); |