diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-11-06 04:02:14 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-11-06 04:02:14 +0100 |
commit | 725b5e0383089ff0f5fb566860513f2b390807ad (patch) | |
tree | 5b1ce6048550160b9c078ffc629eb81003c9c60f /src/Cache.cpp | |
parent | Store secrets (apart from the pickle key) in the database (diff) | |
download | nheko-725b5e0383089ff0f5fb566860513f2b390807ad.tar.xz |
Try to fix clang-tidy
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) { |