From 68ef643af3e90aafd506db47194091e8cfce3a1f Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Wed, 6 Jan 2016 21:59:19 +0200 Subject: [PATCH] Debugger: Refine newline replacement in status message Replace newlines with a semicolon followed by space Change-Id: I99b1a802248787546f7b2a1483a69201ea9daaed Reviewed-by: hjk --- src/plugins/debugger/debuggerplugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index e152046698a..539a83fe837 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -2163,7 +2163,7 @@ void DebuggerPluginPrivate::showStatusMessage(const QString &msg0, int timeout) { showMessage(msg0, LogStatus); QString msg = msg0; - msg.replace(QChar::LineFeed, QChar::Space); + msg.replace(QChar::LineFeed, QLatin1String("; ")); m_statusLabel->showStatusMessage(msg, timeout); }