summary refs log tree commit diff
path: root/src/Cache.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-11-06 04:02:14 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2022-11-06 04:02:14 +0100
commit725b5e0383089ff0f5fb566860513f2b390807ad (patch)
tree5b1ce6048550160b9c078ffc629eb81003c9c60f /src/Cache.cpp
parentStore secrets (apart from the pickle key) in the database (diff)
downloadnheko-725b5e0383089ff0f5fb566860513f2b390807ad.tar.xz
Try to fix clang-tidy
Diffstat (limited to '')
-rw-r--r--src/Cache.cpp3
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) {