forked from qt-creator/qt-creator
Editor manager: fix punctuation in message
Added a full stop. Change-Id: Ieba978bc219dc94adecb97e1c6f8f8986398e526 Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
This commit is contained in:
@@ -590,7 +590,7 @@ IEditor *EditorManagerPrivate::openEditor(EditorView *view, const QString &fileN
|
|||||||
if (!editor->open(&errorString, fn, realFn)) {
|
if (!editor->open(&errorString, fn, realFn)) {
|
||||||
QApplication::restoreOverrideCursor();
|
QApplication::restoreOverrideCursor();
|
||||||
if (errorString.isEmpty())
|
if (errorString.isEmpty())
|
||||||
errorString = tr("Could not open \"%1\": Unknown error").arg(realFn);
|
errorString = tr("Could not open \"%1\": Unknown error.").arg(realFn);
|
||||||
QMessageBox::critical(ICore::mainWindow(), EditorManager::tr("File Error"), errorString);
|
QMessageBox::critical(ICore::mainWindow(), EditorManager::tr("File Error"), errorString);
|
||||||
delete editor;
|
delete editor;
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user