aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppcheck
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2023-08-01 19:59:54 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2023-08-02 08:55:37 +0000
commitaa016cc5a784098947636b05106ab57ae6e70d38 (patch)
tree4b0a307d47c94375d20e954b9fcdedc21f1c15b2 /src/plugins/cppcheck
parent47fce17aa37f6e0ca003ad07917afbd047179f50 (diff)
Various Plugins: Add context object into connections
Change-Id: I360677bebfef16a3233b3b8177cff6da57ec7c31 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/plugins/cppcheck')
-rw-r--r--src/plugins/cppcheck/cppcheckplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cppcheck/cppcheckplugin.cpp b/src/plugins/cppcheck/cppcheckplugin.cpp
index 261eb50b0a5..8f80707a240 100644
--- a/src/plugins/cppcheck/cppcheckplugin.cpp
+++ b/src/plugins/cppcheck/cppcheckplugin.cpp
@@ -55,7 +55,7 @@ public:
CppcheckPluginPrivate::CppcheckPluginPrivate()
{
tool.updateOptions();
- connect(&settings(), &AspectContainer::changed, [this] {
+ connect(&settings(), &AspectContainer::changed, this, [this] {
tool.updateOptions();
trigger.recheck();
});