diff options
Diffstat (limited to 'src/checks/level1/README-incorrect-emit.md')
-rw-r--r-- | src/checks/level1/README-incorrect-emit.md | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/checks/level1/README-incorrect-emit.md b/src/checks/level1/README-incorrect-emit.md deleted file mode 100644 index 09640675..00000000 --- a/src/checks/level1/README-incorrect-emit.md +++ /dev/null @@ -1,8 +0,0 @@ -# incorrect-emit - -For readability purposes you should always use emit (or Q_EMIT) when calling a signal. -Conversely, you should not use those macros when calling a non-signal. - -clazy will warn if you forget to use emit (or Q_EMIT) or if you use them on a non-signal. - -Additionally, it will warn when emitting a signal from a constructor, because there's nothing connected to the signal yet. |