summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2017-03-24 16:26:26 +0100
committerTobias Hunger <tobias.hunger@qt.io>2017-03-27 11:53:29 +0000
commit54be52a4fabedb6c3b81f761b95e7aee791d7e45 (patch)
tree3dedb6ea35fa4defb8e811628b29a4286d9e8c99 /src/plugins
parent2703d02db6b327528ab7229ab91db47514f642e3 (diff)
downloadqt-creator-54be52a4fabedb6c3b81f761b95e7aee791d7e45.tar.gz
ProjectNodes: Enable nested nodes outside of the top level node
Enable adding nested nodes not a child of the top level node. Change-Id: Ia6bb4ed6e3e6649a98151c88133ff5ec7197573d Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/projectexplorer/projectnodes.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/projectnodes.cpp b/src/plugins/projectexplorer/projectnodes.cpp
index 633847e25d..7d275d2eac 100644
--- a/src/plugins/projectexplorer/projectnodes.cpp
+++ b/src/plugins/projectexplorer/projectnodes.cpp
@@ -77,6 +77,7 @@ static FolderNode *recursiveFindOrCreateFolderNode(FolderNode *folder,
directoryWithoutPrefix = directory.relativeChildPath(path);
} else {
isRelative = false;
+ path.clear();
directoryWithoutPrefix = directory;
}
}