forked from qt-creator/qt-creator
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:
committed by
Orgad Shaneh
parent
3eaa734cc3
commit
68ef643af3
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user