aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/todo
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-04-30 12:58:33 +0200
committerhjk <hjk@qt.io>2019-04-30 17:10:39 +0000
commita5148b53638bdc9abe2006c7748936524f2d902c (patch)
treeea17e589f62d594bf840f71c8282098c7d9af8d6 /src/plugins/todo
parent28de30df18db15d081ccad3944cc341b8b29829b (diff)
ProjectExplorer: Rename ProjectTree::findCurrentNode to currentNode
For consistency, it's straight forwards access, similar to currentProject, not much to search and find. Change-Id: I7ce696bdc24b6a8713d6f11e02443a6f94c605f6 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/todo')
-rw-r--r--src/plugins/todo/todoitemsprovider.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/todo/todoitemsprovider.cpp b/src/plugins/todo/todoitemsprovider.cpp
index 99ca36fc23..56de5e6bd5 100644
--- a/src/plugins/todo/todoitemsprovider.cpp
+++ b/src/plugins/todo/todoitemsprovider.cpp
@@ -149,7 +149,7 @@ void TodoItemsProvider::setItemsListWithinStartupProject()
void TodoItemsProvider::setItemsListWithinSubproject()
{
// TODO prefer current editor as source of sub-project
- const Node *node = ProjectTree::findCurrentNode();
+ const Node *node = ProjectTree::currentNode();
if (node) {
ProjectNode *projectNode = node->parentProjectNode();
if (projectNode) {