aboutsummaryrefslogtreecommitdiffstats
path: root/ClazySources.cmake
diff options
context:
space:
mode:
authorSergio Martins <smartins@kde.org>2017-08-12 18:54:52 +0100
committerSergio Martins <smartins@kde.org>2017-08-12 18:54:52 +0100
commit2bce3a146e18b99031650cad03c203058f35558f (patch)
tree8496f6c70a894922b12b3bfe9b36b971b697e70a /ClazySources.cmake
parente59ffbd7f592fe84c90a556b754bce67edc91f4c (diff)
Introducing connect-3arg-lambda
For those days when you're connecting to a lambda that uses QObjects that might be outlived by the sender. In these cases the recommendation is to use the 4-arg overload, which takes a context object as 3rd parameter.
Diffstat (limited to 'ClazySources.cmake')
-rw-r--r--ClazySources.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/ClazySources.cmake b/ClazySources.cmake
index 3053d400..fe5a68fa 100644
--- a/ClazySources.cmake
+++ b/ClazySources.cmake
@@ -38,6 +38,7 @@ set(CLAZY_CHECKS_SRCS
${CMAKE_CURRENT_LIST_DIR}/src/checks/level0/wrong-qglobalstatic.cpp
${CMAKE_CURRENT_LIST_DIR}/src/checks/level1/autounexpectedqstringbuilder.cpp
${CMAKE_CURRENT_LIST_DIR}/src/checks/level1/child-event-qobject-cast.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/src/checks/level1/connect-3arg-lambda.cpp
${CMAKE_CURRENT_LIST_DIR}/src/checks/level1/detachingtemporary.cpp
${CMAKE_CURRENT_LIST_DIR}/src/checks/level1/foreach.cpp
${CMAKE_CURRENT_LIST_DIR}/src/checks/level1/inefficient-qlist-soft.cpp