summaryrefslogtreecommitdiff
path: root/src/plugins/cmakeprojectmanager/cmakeprojectplugin.h
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@qt.io>2016-12-09 03:05:07 +0100
committerTim Jenssen <tim.jenssen@qt.io>2016-12-12 10:20:54 +0000
commit6bf41574914e9e0720a99971ec5110d2a4854e32 (patch)
tree0b455536c6c674c406207cd302717474bd956e97 /src/plugins/cmakeprojectmanager/cmakeprojectplugin.h
parentb91632e642e738294acaf30a9e80a27b70d0471d (diff)
downloadqt-creator-6bf41574914e9e0720a99971ec5110d2a4854e32.tar.gz
CMake: fix not disconnected build action
The old code was disconnecting all signals from CMakeProjectPlugin to m_buildTargetContextAction. The result was more and more triggered actions. Change-Id: I8d7db5852c03d5388870a7460efb3a8a28fd0749 Reviewed-by: Florian Apolloner <florian@apolloner.eu> Reviewed-by: Alexander Drozdov <adrozdoff@gmail.com> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakeprojectplugin.h')
-rw-r--r--src/plugins/cmakeprojectmanager/cmakeprojectplugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakeprojectplugin.h b/src/plugins/cmakeprojectmanager/cmakeprojectplugin.h
index 84af89f733..5c5fb6bd8c 100644
--- a/src/plugins/cmakeprojectmanager/cmakeprojectplugin.h
+++ b/src/plugins/cmakeprojectmanager/cmakeprojectplugin.h
@@ -66,6 +66,7 @@ private:
void updateContextActions(ProjectExplorer::Node *node, ProjectExplorer::Project *project);
Utils::ParameterAction *m_buildTargetContextAction = nullptr;
+ QMetaObject::Connection m_actionConnect;
};
} // namespace Internal