When quoting in the output stream is disabled, the text of the message is printed without quotations and without escaping of non-printable characters. example output with quoting enabled: ERROR: "Unable to open trace data file for session mysession.json\n" and with quoting disabled: ERROR: Unable to open session description file mysession.json. Signed-off-by: Yordan Karadzhov <ykaradzhov@xxxxxxxxxx> --- kernel-shark/src/KsMainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel-shark/src/KsMainWindow.cpp b/kernel-shark/src/KsMainWindow.cpp index 44221f6..9bcf9e2 100644 --- a/kernel-shark/src/KsMainWindow.cpp +++ b/kernel-shark/src/KsMainWindow.cpp @@ -980,7 +980,7 @@ void KsMainWindow::_error(const QString &text, const QString &errCode, if (unloadPlugins) _plugins.unloadAll(); - qCritical() << "ERROR: " << text; + qCritical().noquote() << "ERROR: " << text; em->showMessage(text, errCode); em->exec(); } -- 2.19.1