forked from qt-creator/qt-creator
Tr: Wrap file paths with ""
Change-Id: Iee0e941ff503ff485e8e9c0d9fe3e52eea9042d5 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
@@ -171,9 +171,10 @@ InterpreterOptionsWidget::InterpreterOptionsWidget()
|
||||
if (interpreter.command.isEmpty())
|
||||
return Tr::tr("Executable is empty.");
|
||||
if (!interpreter.command.exists())
|
||||
return Tr::tr("%1 does not exist.").arg(interpreter.command.toUserOutput());
|
||||
return Tr::tr("\"%1\" does not exist.").arg(interpreter.command.toUserOutput());
|
||||
if (!interpreter.command.isExecutableFile())
|
||||
return Tr::tr("%1 is not an executable file.").arg(interpreter.command.toUserOutput());
|
||||
return Tr::tr("\"%1\" is not an executable file.")
|
||||
.arg(interpreter.command.toUserOutput());
|
||||
break;
|
||||
case Qt::DecorationRole:
|
||||
if (column == 0 && !interpreter.command.isExecutableFile())
|
||||
|
||||
Reference in New Issue
Block a user