Commit 4f95c5d6 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

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: default avatarhjk <hjk@theqtcompany.com>
parent 31eb7c20
...@@ -2164,7 +2164,7 @@ void DebuggerPluginPrivate::showStatusMessage(const QString &msg0, int timeout) ...@@ -2164,7 +2164,7 @@ void DebuggerPluginPrivate::showStatusMessage(const QString &msg0, int timeout)
{ {
showMessage(msg0, LogStatus); showMessage(msg0, LogStatus);
QString msg = msg0; QString msg = msg0;
msg.remove(QLatin1Char('\n')); msg.replace(QChar::LineFeed, QChar::Space);
m_statusLabel->showStatusMessage(msg, timeout); m_statusLabel->showStatusMessage(msg, timeout);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment