From 50cf8361cd96a93915e2a2eabe718d806121fa89 Mon Sep 17 00:00:00 2001
From: Alessandro Portale <alessandro.portale@nokia.com>
Date: Mon, 10 Aug 2009 12:54:04 +0200
Subject: [PATCH] Using QDir::toNativeSeparators when pathes are shown to
 users.

---
 src/plugins/coreplugin/editormanager/editormanager.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/coreplugin/editormanager/editormanager.cpp b/src/plugins/coreplugin/editormanager/editormanager.cpp
index 6041c138164..0e25ca8d5cd 100644
--- a/src/plugins/coreplugin/editormanager/editormanager.cpp
+++ b/src/plugins/coreplugin/editormanager/editormanager.cpp
@@ -1138,7 +1138,7 @@ IEditor *EditorManager::openEditor(Core::Internal::EditorView *view, const QStri
     IEditor *editor = createEditor(editorKind, fileName);
     if (!editor || !editor->open(fileName)) {
         QApplication::restoreOverrideCursor();
-        QMessageBox::critical(m_d->m_core->mainWindow(), tr("Opening File"), tr("Cannot open file %1!").arg(fileName));
+        QMessageBox::critical(m_d->m_core->mainWindow(), tr("Opening File"), tr("Cannot open file %1!").arg(QDir::toNativeSeparators(fileName)));
         delete editor;
         editor = 0;
         return 0;
-- 
GitLab