aboutsummaryrefslogtreecommitdiffstats
path: root/docs/checks/README-post-event.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/checks/README-post-event.md')
-rw-r--r--docs/checks/README-post-event.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/checks/README-post-event.md b/docs/checks/README-post-event.md
new file mode 100644
index 00000000..2bc3db64
--- /dev/null
+++ b/docs/checks/README-post-event.md
@@ -0,0 +1,6 @@
+# post-event
+
+Finds places where an event is not correctly passed to `QCoreApplication::postEvent()`.
+
+`QCoreApplication::postEvent()` expects an heap allocated event, not a stack allocated one.
+`QCoreApplication::sendEvent()` correctness is not checked due to false-positives.