forked from qt-creator/qt-creator
Debugger: Replace newline with space in status message
Just removing newlines produces strange messages like: "Cannot access memory at 0x1a2a3948Continuing nevertheless" Change-Id: Ifca25bc14f4c10fc560066172f555a6f475af375 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
31eb7c203d
commit
4f95c5d607
@@ -2164,7 +2164,7 @@ void DebuggerPluginPrivate::showStatusMessage(const QString &msg0, int timeout)
|
||||
{
|
||||
showMessage(msg0, LogStatus);
|
||||
QString msg = msg0;
|
||||
msg.remove(QLatin1Char('\n'));
|
||||
msg.replace(QChar::LineFeed, QChar::Space);
|
||||
m_statusLabel->showStatusMessage(msg, timeout);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user