| Summary: | Error message when connecting to lambda | ||
|---|---|---|---|
| Product: | [Developer tools] clazy | Reporter: | Richard <richard.oehlinger> |
| Component: | general | Assignee: | Sergio Martins <smartins> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | smartins |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | All | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
commit ad1efd24b4183e093247a6b788f9cc9e2c79e403 Author: Sergio Martins <iamsergio@gmail.com> Date: Wed Nov 15 16:28:38 2017 +0000 const-signal-or-slot: Don't print an error when connecting to lambda returning nullptr is enough BUG: 386940 |
A connect to a lambda issues an error message in the const-signal-or-slot checker message: error, invalid argIndex 3 number of arguments 3 code snippet: QObject::connect(&o, &MyObject::signal1, []{});