QmlDesigner: Fix exception output

Fix exception output by disabling escaping of non-printable characters.

Change-Id: I5997f6f9b70a71a1a6b1cfdad17ac88daee35f7a
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Henning Gruendl
2020-10-01 16:41:02 +02:00
committed by Henning Gründl
parent 8f948397ee
commit 3a0182d28e

View File

@@ -199,10 +199,10 @@ QDebug operator<<(QDebug debug, const Exception &exception)
"File: " << exception.file() << "\n"
"Line: " << exception.line() << "\n";
if (!exception.description().isEmpty())
debug.nospace() << exception.description();
debug.nospace() << exception.description() << "\n";
if (!exception.backTrace().isEmpty())
debug.nospace() << exception.backTrace();
debug.nospace().noquote() << exception.backTrace();
return debug.space();
}