forked from qt-creator/qt-creator
Boot2qt, Qnx: Pass context object to lambda connections
Change-Id: I64c5ed32035f161920a7ba08fa67de7bee6653a3 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -35,10 +35,10 @@ public:
|
||||
connect(&m_launcher, &QtcProcess::started, this, &RunWorker::reportStarted);
|
||||
connect(&m_launcher, &QtcProcess::done, this, &RunWorker::reportStopped);
|
||||
|
||||
connect(&m_launcher, &QtcProcess::readyReadStandardOutput, [this] {
|
||||
connect(&m_launcher, &QtcProcess::readyReadStandardOutput, this, [this] {
|
||||
appendMessage(QString::fromUtf8(m_launcher.readAllStandardOutput()), StdOutFormat);
|
||||
});
|
||||
connect(&m_launcher, &QtcProcess::readyReadStandardError, [this] {
|
||||
connect(&m_launcher, &QtcProcess::readyReadStandardError, this, [this] {
|
||||
appendMessage(QString::fromUtf8(m_launcher.readAllStandardError()), StdErrFormat);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user