forked from qt-creator/qt-creator
EditorManager: Use "URL" in message
Change-Id: Icfd31b7cd89a727a3fbfc53ad53f036f7f7c3120 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
committed by
Takumi ASAKI
parent
648a909918
commit
33d67828f6
@@ -61,7 +61,7 @@ bool SystemEditor::startEditor(const QString &fileName, QString *errorMessage)
|
|||||||
url.setScheme(QLatin1String("file"));
|
url.setScheme(QLatin1String("file"));
|
||||||
if (!QDesktopServices::openUrl(url)) {
|
if (!QDesktopServices::openUrl(url)) {
|
||||||
if (errorMessage)
|
if (errorMessage)
|
||||||
*errorMessage = tr("Could not open url %1.").arg(url.toString());
|
*errorMessage = tr("Could not open URL %1.").arg(url.toString());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user