aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/android/androidrunner.cpp
diff options
context:
space:
mode:
authorUlf Hermann <[email protected]>2014-03-14 11:44:31 +0100
committerUlf Hermann <[email protected]>2014-03-14 11:57:28 +0100
commit0d3f7f0debc2ab90dba3078b4e2975eded634184 (patch)
treeda59e28d54ca0c1139f103ccf51379d6ecc2290a /src/plugins/android/androidrunner.cpp
parent1b50faef8fcf4bdfc6bed5c8360902e9931ac781 (diff)
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: Daniel Teske <[email protected]>
Diffstat (limited to 'src/plugins/android/androidrunner.cpp')
-rw-r--r--src/plugins/android/androidrunner.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/android/androidrunner.cpp b/src/plugins/android/androidrunner.cpp
index cf047deceb3..093958c85f9 100644
--- a/src/plugins/android/androidrunner.cpp
+++ b/src/plugins/android/androidrunner.cpp
@@ -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);