forked from qt-creator/qt-creator
ProjectExplorer: Fix LLDB stdout lines
DebuggerEngine::appendMessageRequested specifies if a newline should be added, but RunWorker::appendMessage did not use that information. Fixes: QTCREATORBUG-29098 Change-Id: I5ab1e489f691038fe1d9ea4a4d4b04429e403e0d Reviewed-by: hjk <hjk@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -39,8 +39,10 @@ ValgrindToolRunner::ValgrindToolRunner(RunControl *runControl)
|
||||
|
||||
m_settings.fromMap(runControl->settingsData(ANALYZER_VALGRIND_SETTINGS));
|
||||
|
||||
connect(&m_runner, &ValgrindRunner::appendMessage,
|
||||
this, &ValgrindToolRunner::appendMessage);
|
||||
connect(&m_runner,
|
||||
&ValgrindRunner::appendMessage,
|
||||
this,
|
||||
[this](const QString &msg, Utils::OutputFormat format) { appendMessage(msg, format); });
|
||||
connect(&m_runner, &ValgrindRunner::valgrindExecuted,
|
||||
this, [this](const QString &commandLine) {
|
||||
appendMessage(commandLine, NormalMessageFormat);
|
||||
|
||||
Reference in New Issue
Block a user