diff options
Diffstat (limited to '')
-rw-r--r-- | src/Cache.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Cache.cpp b/src/Cache.cpp index 41dd507c..5cb87a2f 100644 --- a/src/Cache.cpp +++ b/src/Cache.cpp @@ -420,7 +420,8 @@ Cache::loadSecretsFromStore( connect(job, &QKeychain::ReadPasswordJob::finished, this, - [this, name, toLoad, job, name_, internal, callback](QKeychain::Job *) mutable { + [this, name, toLoad, job, name_ = name_, internal = internal, callback]( + QKeychain::Job *) mutable { nhlog::db()->debug("Finished reading '{}'", toLoad.begin()->first); const QString secret = job->textData(); if (job->error() && job->error() != QKeychain::Error::EntryNotFound) { |