diff --git a/src/plugins/resourceeditor/resourcenode.cpp b/src/plugins/resourceeditor/resourcenode.cpp index 367f8930df2..fae69734afd 100644 --- a/src/plugins/resourceeditor/resourcenode.cpp +++ b/src/plugins/resourceeditor/resourcenode.cpp @@ -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()