diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2017-12-04 13:53:38 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2017-12-12 13:44:09 +0000 |
commit | 7c35a3810023b7cb02550ef3ef6af62826545827 (patch) | |
tree | 1524096544cf17b5b9e4de35693bf26d0ee44398 /src/plugins/cpptools/cppfindreferences.cpp | |
parent | 34b8ed14842ab360604e8d30993772fe474d22d6 (diff) | |
download | qt-creator-7c35a3810023b7cb02550ef3ef6af62826545827.tar.gz |
Session: Move all functionality related to Nodes into ProjectTree
Do no longer expose Nodes from the SessionManager's API. These are now
exclusively handled by the ProjectTree.
Change-Id: I585c2ac919462073870363436e767640775d9045
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cppfindreferences.cpp')
-rw-r--r-- | src/plugins/cpptools/cppfindreferences.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/cpptools/cppfindreferences.cpp b/src/plugins/cpptools/cppfindreferences.cpp index 777b7fce2b..d2ae4e9f43 100644 --- a/src/plugins/cpptools/cppfindreferences.cpp +++ b/src/plugins/cpptools/cppfindreferences.cpp @@ -36,7 +36,7 @@ #include <coreplugin/progressmanager/progressmanager.h> #include <projectexplorer/projectexplorer.h> #include <projectexplorer/projectnodes.h> -#include <projectexplorer/session.h> +#include <projectexplorer/projecttree.h> #include <texteditor/basefilefind.h> #include <utils/algorithm.h> @@ -560,7 +560,7 @@ static void displayResults(SearchResult *search, QFutureWatcher<CPlusPlus::Usage if (Utils::contains(parameters.filesToRename, Utils::equal(&Node::filePath, result.path))) continue; - Node *node = SessionManager::nodeForFile(result.path); + Node *node = ProjectTree::nodeForFile(result.path); if (!node) // Not part of any project continue; |