Try to fix clang-tidy

pull/1224/head
Nicolas Werner 2 years ago
parent 537fa437e2
commit 725b5e0383
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 3
      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) {

Loading…
Cancel
Save