| Summary: | clazy-connect-non-signal check fails in case signal is extracted to variable | ||
|---|---|---|---|
| Product: | [Developer tools] clazy | Reporter: | Alexander Lohnau <alexander.lohnau> |
| Component: | general | Assignee: | Unassigned bugs <unassigned-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | smartins |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
The snippet is from KIO on master with qt6 A possibly relevant merge request was started @ https://invent.kde.org/sdk/clazy/-/merge_requests/130 |
auto skipSignal = &AskUserActionInterface::askUserSkipResult; q->connect(askUserActionInterface, skipSignal, q, [=](KIO::SkipDialog_Result result, KJob *parentJob) { /home/user/kde/src/kio/src/core/chmodjob.cpp:209:21: warning: couldn't find method from pmf connect, please report a bug [-Wclazy-connect-non-signal] q->connect(askUserActionInterface, skipSignal, q, [=](KIO::SkipDialog_Result result, KJob *parentJob) { ^