aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/todo
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2016-11-09 13:39:59 +0100
committerTobias Hunger <tobias.hunger@qt.io>2016-11-10 15:24:14 +0000
commitad003363b7e27d2d55b7c29dacaa3fca10b07045 (patch)
treeb13dc6bc82aac97771c179ee641f30826021755d /src/plugins/todo
parentc7b0163fcbe1019bca4efb57d1e298c8c206f47e (diff)
ProjectExplorer: Rename Node::projectNode to Node::parentProjectNode
Change-Id: I47fa794a0bd8456ae23271934a957d9667d2d7bb Reviewed-by: Tim Jenssen <tim.jenssen@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 3bedefac057..858efa6731b 100644
--- a/src/plugins/todo/todoitemsprovider.cpp
+++ b/src/plugins/todo/todoitemsprovider.cpp
@@ -146,7 +146,7 @@ void TodoItemsProvider::setItemsListWithinSubproject()
// TODO prefer current editor as source of sub-project
Node *node = ProjectTree::currentNode();
if (node) {
- ProjectNode *projectNode = node->projectNode();
+ ProjectNode *projectNode = node->parentProjectNode();
if (projectNode) {
FindAllFilesVisitor filesVisitor;