forked from qt-creator/qt-creator
CODA: Application Output has been polished
This commit is contained in:
@@ -372,7 +372,7 @@ void CodaGdbAdapter::codaEvent(const CodaEvent &e)
|
||||
}
|
||||
break;
|
||||
case CodaEvent::LoggingWriteEvent: // TODO: Not tested yet.
|
||||
showMessage(e.toString(), AppOutput);
|
||||
showMessage(e.toString() + '\n', AppOutput);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
@@ -303,7 +303,7 @@ void CodaRunControl::handleModuleLoadSuspended(const CodaEvent &event)
|
||||
void CodaRunControl::handleLogging(const CodaEvent &event)
|
||||
{
|
||||
const CodaLoggingWriteEvent &me = static_cast<const CodaLoggingWriteEvent &>(event);
|
||||
appendMessage(me.message(), Utils::StdOutFormat);
|
||||
appendMessage(me.message() + '\n', Utils::StdOutFormat);
|
||||
}
|
||||
|
||||
void CodaRunControl::handleAddListener(const CodaCommandResult &result)
|
||||
|
||||
@@ -441,10 +441,7 @@ CodaLoggingWriteEvent::CodaLoggingWriteEvent(const QByteArray &console, const QB
|
||||
|
||||
QString CodaLoggingWriteEvent::toString() const
|
||||
{
|
||||
QByteArray msgBA = m_console;
|
||||
msgBA += ": ";
|
||||
msgBA += m_message;
|
||||
return QString::fromUtf8(msgBA);
|
||||
return QString::fromUtf8(m_message);
|
||||
}
|
||||
|
||||
// -------------- CodaIdEvent
|
||||
|
||||
Reference in New Issue
Block a user