From 6c4504159a721bfb99fdc4d128fb0997c81ac378 Mon Sep 17 00:00:00 2001
From: Robert Loehning <robert.loehning@theqtcompany.com>
Date: Thu, 3 Dec 2015 16:50:42 +0100
Subject: [PATCH] ResourceNode: Fix directory separators

Change-Id: I589397178cf4ad749825f004638a2d9852d7f0c3
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
---
 src/plugins/resourceeditor/resourcenode.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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()
-- 
GitLab