ResourceNode: Fix directory separators

Change-Id: I589397178cf4ad749825f004638a2d9852d7f0c3
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Robert Loehning
2015-12-03 16:50:42 +01:00
parent ddc43b7329
commit 6c4504159a

View File

@@ -122,9 +122,9 @@ ResourceTopLevelNode::ResourceTopLevelNode(const Utils::FileName &filePath, Fold
Utils::FileName base = parent->path();
if (filePath.isChildOf(base))
setDisplayName(filePath.relativeChildPath(base).toString());
setDisplayName(filePath.relativeChildPath(base).toUserOutput());
else
setDisplayName(filePath.toString());
setDisplayName(filePath.toUserOutput());
}
ResourceTopLevelNode::~ResourceTopLevelNode()