Commit 0d3f7f0d authored by Ulf Hermann's avatar Ulf Hermann

Android: Treat "fatal" messages error output

If you trigger a fatal signal e.g. dividing by 0, you'll get a message
with an "F/" prefix. That should be red, too, just like "E/" and "W/".

Change-Id: I8bef7ebf4e8c7d7ac3794750306073043852634b
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent 1b50faef
......@@ -371,7 +371,8 @@ void AndroidRunner::logcatProcess(const QByteArray &text, QByteArray &buffer, bo
if (line.endsWith('\r'))
line.chop(1);
line.append('\n');
if (onlyError || line.startsWith("E/")
if (onlyError || line.startsWith("F/")
|| line.startsWith("E/")
|| line.startsWith("D/Qt")
|| line.startsWith("W/"))
emit remoteErrorOutput(line);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment