summaryrefslogtreecommitdiff
path: root/src/plugins/cmakeprojectmanager/cmakeprojectplugin.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2017-02-24 10:02:39 +0100
committerhjk <hjk@qt.io>2017-02-24 13:17:46 +0000
commit6d723dfa6f9291b0edad1618a5845184cf96f904 (patch)
tree17734b9e811a3178c650fa2f16af78e9ad39fd60 /src/plugins/cmakeprojectmanager/cmakeprojectplugin.h
parenta7809d4f5ef0710f602f8caba927d988e5af5736 (diff)
downloadqt-creator-6d723dfa6f9291b0edad1618a5845184cf96f904.tar.gz
ProjectExplorer: Remove arguments from node change signals
This discourages storing the pointers needlessly. The items are still easy accessible by the static ProjectTree::currentNode() Change-Id: I3c0cd019e9fdc382afacbc9d9de3b97d5f58ae1e Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakeprojectplugin.h')
-rw-r--r--src/plugins/cmakeprojectmanager/cmakeprojectplugin.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakeprojectplugin.h b/src/plugins/cmakeprojectmanager/cmakeprojectplugin.h
index 806677d380..99c63d10e1 100644
--- a/src/plugins/cmakeprojectmanager/cmakeprojectplugin.h
+++ b/src/plugins/cmakeprojectmanager/cmakeprojectplugin.h
@@ -29,11 +29,6 @@
#include <QObject>
-namespace ProjectExplorer {
-class Node;
-class Project;
-} // namespace ProjectExplorer
-
namespace Utils { class ParameterAction; }
namespace CMakeProjectManager {
@@ -69,7 +64,7 @@ private slots:
#endif
private:
- void updateContextActions(ProjectExplorer::Node *node, ProjectExplorer::Project *project);
+ void updateContextActions();
Utils::ParameterAction *m_buildTargetContextAction = nullptr;
QMetaObject::Connection m_actionConnect;