Message ID | 20190314151012.905-6-ykaradzhov@vmware.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | Various modifications and fixes toward KS 1.0 | expand |
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(); }
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@vmware.com> --- kernel-shark/src/KsMainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)