forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user