forked from qt-creator/qt-creator
Merge AnalyzerRunControl::logMessage and RunControl::appendMessage
The tools' ability to hook into processing of the output is retained by making the function virtual. Also remove the unusual overload of the RunControl::appendMessage slot and the signal of the same name by renaming the signal. Change-Id: If3c3cc2dd9c933169dc30b16e3165c9b3cf1440e Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -387,8 +387,7 @@ void AppOutputPane::createNewOutputWindow(RunControl *rc)
|
||||
this, &AppOutputPane::slotRunControlFinished);
|
||||
connect(rc, &RunControl::applicationProcessHandleChanged,
|
||||
this, &AppOutputPane::enableDefaultButtons);
|
||||
connect(rc, static_cast<void (RunControl::*)(
|
||||
ProjectExplorer::RunControl *, const QString &, Utils::OutputFormat)>(&RunControl::appendMessage),
|
||||
connect(rc, &RunControl::appendMessageRequested,
|
||||
this, &AppOutputPane::appendMessage);
|
||||
|
||||
Utils::OutputFormatter *formatter = rc->outputFormatter();
|
||||
|
||||
Reference in New Issue
Block a user