Commit 6ecd9cc5 authored by dt's avatar dt
Browse files

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.

Reviewed-By: con
parent 07372a0d
......@@ -518,7 +518,7 @@ void Qt4PriFileNode::update(ProFile *includeFileExact, ProFileReader *readerExac
InternalNode *subfolder = new InternalNode;
subfolder->type = type;
subfolder->icon =;
subfolder->fullPath = m_projectDir + '#' +;
subfolder->fullPath = m_projectDir + "/#" +;
contents.subnodes.insert(, subfolder);
// create the hierarchy with subdirectories
subfolder->create(m_projectDir, newFilePaths, type);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment