From f3ca6775e3a6196dae57dd07d7f4a09c93b18c67 Mon Sep 17 00:00:00 2001 From: Waqar Ahmed Date: Mon, 29 Jul 2024 15:56:27 +0500 Subject: [PATCH] clazy silence lambda-in-connect --- client/remotemodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/remotemodel.cpp b/client/remotemodel.cpp index be5fc3b0e0..0a48dd06b4 100644 --- a/client/remotemodel.cpp +++ b/client/remotemodel.cpp @@ -232,7 +232,7 @@ QVariant RemoteModel::requestCreationDeclarationLocation(const QModelIndex &inde QEventLoop loop; - auto conn = connect(this, &RemoteModel::declarationCreationLocationsReceived, this, [&creationLoc, &declarationLoc, &loop](const QVariant &d, const QVariant &c) { + auto conn = connect(this, &RemoteModel::declarationCreationLocationsReceived, this, [&creationLoc, &declarationLoc, &loop](const QVariant &d, const QVariant &c) { // clazy:exclude=lambda-in-connect if (d.isValid()) declarationLoc = d; if (c.isValid())