Bug 478293 - clazy-connect-non-signal check fails in case signal is extracted to variable
Summary: clazy-connect-non-signal check fails in case signal is extracted to variable
Status: ASSIGNED
Alias: None
Product: clazy
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-09 08:47 UTC by Alexander Lohnau
Modified: 2024-02-14 07:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Lohnau 2023-12-09 08:47:41 UTC
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) {
                    ^
Comment 1 Alexander Lohnau 2023-12-09 08:50:19 UTC
The snippet is from KIO on master with qt6
Comment 2 Bug Janitor Service 2024-02-14 07:02:51 UTC
A possibly relevant merge request was started @ https://invent.kde.org/sdk/clazy/-/merge_requests/130