forked from qt-creator/qt-creator
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user