diff --git a/src/libs/utils/launchersocket.cpp b/src/libs/utils/launchersocket.cpp index c232579e20d..d2ee1cf19fd 100644 --- a/src/libs/utils/launchersocket.cpp +++ b/src/libs/utils/launchersocket.cpp @@ -83,10 +83,6 @@ public: , m_stdErr(stdErr) {} QByteArray stdOut() const { return m_stdOut; } QByteArray stdErr() const { return m_stdErr; } - void mergeWith(ReadyReadSignal *newSignal) { - m_stdOut += newSignal->stdOut(); - m_stdErr += newSignal->stdErr(); - } private: QByteArray m_stdOut; QByteArray m_stdErr; @@ -268,16 +264,6 @@ void CallerHandle::appendSignal(LauncherSignal *launcherSignal) QMutexLocker locker(&m_mutex); QTC_ASSERT(isCalledFromLaunchersThread(), return); - // Merge ReadyRead signals into one. - if (launcherSignal->signalType() == CallerHandle::SignalType::ReadyRead - && !m_signals.isEmpty() - && m_signals.last()->signalType() == CallerHandle::SignalType::ReadyRead) { - ReadyReadSignal *lastSignal = static_cast(m_signals.last()); - ReadyReadSignal *newSignal = static_cast(launcherSignal); - lastSignal->mergeWith(newSignal); - delete newSignal; - return; - } m_signals.append(launcherSignal); }