GH-933 map exit code -1 to 'crashed'
This commit is contained in:
parent
5779ffd664
commit
8e9d5f56b5
1 changed files with 4 additions and 1 deletions
|
@ -254,6 +254,9 @@ void BaseProcess::finish(int code, ExitStatus status)
|
|||
else
|
||||
{
|
||||
//: Message displayed on instance crashed
|
||||
if(code == -1)
|
||||
emit log(tr("Game crashed.").arg(code));
|
||||
else
|
||||
emit log(tr("Game crashed with exitcode %1.").arg(code));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue