From 6ecd9cc537f41bd016843c7e6223ff7705688d59 Mon Sep 17 00:00:00 2001 From: dt <qtc-committer@nokia.com> Date: Mon, 15 Mar 2010 13:27:23 +0100 Subject: [PATCH] Add new on virtual folders adds to the wrong path. The solution ain't great. Essentially we need to fix that path() needs to be unique and a 1:1 mapping to the file system by introducing a separate method for the first usage. Task-Nr: QTCREATORBUG-828 Reviewed-By: con --- src/plugins/qt4projectmanager/qt4nodes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qt4projectmanager/qt4nodes.cpp b/src/plugins/qt4projectmanager/qt4nodes.cpp index 6fca7c02a95..4d0f2531114 100644 --- a/src/plugins/qt4projectmanager/qt4nodes.cpp +++ b/src/plugins/qt4projectmanager/qt4nodes.cpp @@ -518,7 +518,7 @@ void Qt4PriFileNode::update(ProFile *includeFileExact, ProFileReader *readerExac InternalNode *subfolder = new InternalNode; subfolder->type = type; subfolder->icon = fileTypes.at(i).icon; - subfolder->fullPath = m_projectDir + '#' + fileTypes.at(i).typeName; + subfolder->fullPath = m_projectDir + "/#" + fileTypes.at(i).typeName; contents.subnodes.insert(fileTypes.at(i).typeName, subfolder); // create the hierarchy with subdirectories subfolder->create(m_projectDir, newFilePaths, type); -- GitLab