forked from qt-creator/qt-creator
consoleprocess: improve error message
Change-Id: I463b5efc9619e0a32221f3059672aa48b2b6ad8b Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
@@ -153,7 +153,8 @@ bool ConsoleProcess::start(const QString &program, const QString &args)
|
||||
d->m_process.start(xterm, xtermArgs);
|
||||
if (!d->m_process.waitForStarted()) {
|
||||
stubServerShutdown();
|
||||
emit processError(tr("Cannot start the terminal emulator '%1'.").arg(xterm));
|
||||
emit processError(tr("Cannot start the terminal emulator '%1', change the setting in the "
|
||||
"Environment options.").arg(xterm));
|
||||
delete d->m_tempFile;
|
||||
d->m_tempFile = 0;
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user