aboutsummaryrefslogtreecommitdiffstats
path: root/docs/checks
diff options
context:
space:
mode:
authorSergio Martins <smartins@kde.org>2018-08-18 15:13:06 +0100
committerSergio Martins <smartins@kde.org>2018-08-18 15:13:06 +0100
commit63baa89fc299e98b96fb8c5830a2f786b8aa5130 (patch)
tree0472c4c11dcae672d2526eb080f662bf8769a416 /docs/checks
parentd1922e5cf6b4089bb509d694c7612f115a28e7eb (diff)
connect-3arg-lambda: Also warn when using QTimer::singleShot() without context
The check name is now inconsistent but would be overkill to create a new check just for QTimer::singleShot().
Diffstat (limited to 'docs/checks')
-rw-r--r--docs/checks/README-connect-3arg-lambda.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/checks/README-connect-3arg-lambda.md b/docs/checks/README-connect-3arg-lambda.md
index 1ec7c146..3d6296a0 100644
--- a/docs/checks/README-connect-3arg-lambda.md
+++ b/docs/checks/README-connect-3arg-lambda.md
@@ -19,3 +19,6 @@ at least one QObject (other than the sender).
It's very hard to not have any false-positives. If you find any you probably can just
pass the sender again, as 3rd parameter.
+
+This will also warn if you pass a lambda to `QTimer::singleShot()` without
+using the overload that takes a context object.