Skip to content

Commit

Permalink
clazy silence lambda-in-connect
Browse files Browse the repository at this point in the history
  • Loading branch information
Waqar144 committed Jul 29, 2024
1 parent 952efd7 commit f3ca677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/remotemodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit f3ca677

Please sign in to comment.