Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
50cf8361
Commit
50cf8361
authored
Aug 10, 2009
by
Alessandro Portale
Browse files
Using QDir::toNativeSeparators when pathes are shown to users.
parent
5c5ac9c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/editormanager/editormanager.cpp
View file @
50cf8361
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment