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>
This commit is contained in:
hjk
2017-02-24 10:02:39 +01:00
parent a7809d4f5e
commit 6d723dfa6f
10 changed files with 46 additions and 63 deletions

View File

@@ -222,10 +222,9 @@ void ProjectTree::update(Node *node, Project *project)
if (changedNode) {
m_currentNode = node;
emit currentNodeChanged(m_currentNode, project);
emit currentNodeChanged();
}
if (changedProject) {
emit currentProjectChanged(m_currentProject);
sessionChanged();