Android: Mark debug output in red for Android <5

We do that for Android 5 and onwards.

Change-Id: Ia79fbf3cd50ed561e5dba1b8707d296fe1daa82d
Task-number: QTCREATORBUG-14663
Reviewed-by: BogDan Vatra <bogdan@kde.org>
This commit is contained in:
Daniel Teske
2015-07-15 16:36:11 +02:00
parent 21d547998f
commit 857bae3146

View File

@@ -555,8 +555,7 @@ void AndroidRunner::logcatProcess(const QByteArray &text, QByteArray &buffer, bo
if (onlyError
|| messagetype == QLatin1String("F")
|| messagetype == QLatin1String("E")
|| messagetype == QLatin1String("W")
|| messagetype == QLatin1String("D"))
|| messagetype == QLatin1String("W"))
emit remoteErrorOutput(output);
else
emit remoteOutput(output);
@@ -564,7 +563,6 @@ void AndroidRunner::logcatProcess(const QByteArray &text, QByteArray &buffer, bo
} else {
if (onlyError || line.startsWith(_("F/"))
|| line.startsWith(_("E/"))
|| line.startsWith(_("D/Qt"))
|| line.startsWith(_("W/")))
emit remoteErrorOutput(line);
else