forked from qt-creator/qt-creator
ProjectExplorer: Simplify RunControl::appendMessage
Use a signal directly now, the users know the caller. Change-Id: Ib2ff4dbe3047eddf2a060eef060b487a4c17e78c Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -413,8 +413,10 @@ void AppOutputPane::createNewOutputWindow(RunControl *rc)
|
||||
this, &AppOutputPane::slotRunControlFinished);
|
||||
connect(rc, &RunControl::applicationProcessHandleChanged,
|
||||
this, &AppOutputPane::enableDefaultButtons);
|
||||
connect(rc, &RunControl::appendMessageRequested,
|
||||
this, &AppOutputPane::appendMessage);
|
||||
connect(rc, &RunControl::appendMessage,
|
||||
this, [this, rc](const QString &out, Utils::OutputFormat format) {
|
||||
appendMessage(rc, out, format);
|
||||
});
|
||||
|
||||
// First look if we can reuse a tab
|
||||
const Runnable thisRunnable = rc->runnable();
|
||||
|
||||
Reference in New Issue
Block a user