Commit 50cf8361 authored by Alessandro Portale's avatar Alessandro Portale
Browse files

Using QDir::toNativeSeparators when pathes are shown to users.

parent 5c5ac9c2
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment