debugger: less scary crash message

Change-Id: I2c24d3a14cf2139a363100733280c4fd0c321524
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
This commit is contained in:
hjk
2012-05-29 08:05:41 +02:00
committed by hjk
parent 28c6013904
commit 012281cdf8

View File

@@ -4948,8 +4948,8 @@ void GdbEngine::handleGdbFinished(int code, QProcess::ExitStatus type)
default: {
notifyEngineIll(); // Initiate shutdown sequence
const QString msg = type == QProcess::CrashExit ?
tr("The gdb process crashed.") :
tr("The gdb process exited unexpectedly (code %1)").arg(code);
tr("The gdb process terminated.") :
tr("The gdb process terminated unexpectedly (code %1)").arg(code);
showMessageBox(QMessageBox::Critical, tr("Unexpected GDB Exit"), msg);
break;
}