Launcher: Fix UI text

Task-number: QTCREATORBUG-26458
Change-Id: I99ffa236a58dd9bdad9716edfdd7a576293144d8
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
Leena Miettinen
2021-10-25 16:54:51 +02:00
parent cd80f0a096
commit dcd4d1c92e
2 changed files with 2 additions and 2 deletions

View File

@@ -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()));
}
}

View File

@@ -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));