Debugger: Refine newline replacement in status message

Replace newlines with a semicolon followed by space

Change-Id: I99b1a802248787546f7b2a1483a69201ea9daaed
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2016-01-06 21:59:19 +02:00
committed by Orgad Shaneh
parent 3eaa734cc3
commit 68ef643af3

View File

@@ -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);
}