forked from qt-creator/qt-creator
Launcher: Fix UI text
Task-number: QTCREATORBUG-26458 Change-Id: I99ffa236a58dd9bdad9716edfdd7a576293144d8 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -161,7 +161,7 @@ void LauncherInterfacePrivate::handleProcessError()
|
||||
const QString launcherPathForUser
|
||||
= QDir::toNativeSeparators(QDir::cleanPath(m_process->program()));
|
||||
emit errorOccurred(QCoreApplication::translate("Utils::LauncherSocket",
|
||||
"Failed to start process launcher at '%1': %2")
|
||||
"Failed to start process launcher at \"%1\": %2")
|
||||
.arg(launcherPathForUser, m_process->errorString()));
|
||||
}
|
||||
}
|
||||
|
@@ -296,7 +296,7 @@ void CallerHandle::cancel()
|
||||
break;
|
||||
case QProcess::Starting:
|
||||
m_errorString = QCoreApplication::translate("Utils::LauncherHandle",
|
||||
"Process canceled before it was started.");
|
||||
"Process was canceled before it was started.");
|
||||
m_error = QProcess::FailedToStart;
|
||||
if (LauncherInterface::isReady()) // TODO: race condition with m_processState???
|
||||
sendPacket(StopProcessPacket(m_token));
|
||||
|
Reference in New Issue
Block a user