mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 04:55:48 +03:00
Use ReadPasswordJob::finished for ReadPasswordJob
Signed-off-by: Michael Schuster <michael@schuster.ms>
This commit is contained in:
parent
dcc84d3508
commit
76c7ab499f
1 changed files with 1 additions and 1 deletions
|
@ -545,7 +545,7 @@ void Account::retrieveAppPassword(){
|
|||
ReadPasswordJob *job = new ReadPasswordJob(Theme::instance()->appName());
|
||||
job->setInsecureFallback(false);
|
||||
job->setKey(kck);
|
||||
connect(job, &WritePasswordJob::finished, [this](Job *incoming) {
|
||||
connect(job, &ReadPasswordJob::finished, [this](Job *incoming) {
|
||||
ReadPasswordJob *readJob = static_cast<ReadPasswordJob *>(incoming);
|
||||
QString pwd("");
|
||||
// Error or no valid public key error out
|
||||
|
|
Loading…
Reference in a new issue