Commit 7b9c2c76 authored by Laurent Montel's avatar Laurent Montel 😁

Avoid to kill job when we close dialog

parent c42d1e83
Pipeline #41292 failed with stage
in 17 minutes and 49 seconds
......@@ -231,7 +231,7 @@ void AccountWidget::walletOpenedForSaving()
deleteJob->setKey(mIdentifier);
deleteJob->start();
} else {
auto writeJob = new WritePasswordJob(QStringLiteral("pop3"), this);
auto writeJob = new WritePasswordJob(QStringLiteral("pop3"));
connect(writeJob, &QKeychain::Job::finished, this, [](QKeychain::Job *baseJob) {
if (baseJob->error()) {
qCWarning(POP3RESOURCE_LOG) << "Error writing password using QKeychain:" << baseJob->errorString();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment