Commit d7a373ef authored by Alessandro Portale's avatar Alessandro Portale

QmakeProjectManager: native separators in FolderNodes

Folder nodes with separators should be native.
They are native in the tooltip, as-well.

Change-Id: Iae56f352df3a58fe0eb75130c9171fa70d8b0204
Reviewed-by: default avatarDaniel Teske <daniel.teske@theqtcompany.com>
parent d0d7d5e1
......@@ -429,7 +429,7 @@ struct InternalNode
// replace i.value() by i.value()->subnodes.begin()
QString key = i.value()->subnodes.begin().key();
InternalNode *keep = i.value()->subnodes.value(key);
keep->displayName = i.value()->displayName + QLatin1Char('/') + keep->displayName;
keep->displayName = i.value()->displayName + QDir::separator() + keep->displayName;
newSubnodes.insert(key, keep);
i.value()->subnodes.clear();
delete i.value();
......
Markdown is supported
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