Try to fix clang-tidy

This commit is contained in:
Nicolas Werner 2022-11-06 04:02:14 +01:00
parent 537fa437e2
commit 725b5e0383
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -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) {