summaryrefslogtreecommitdiff
path: root/src/libs/utils/qtcprocess.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/utils/qtcprocess.cpp')
-rw-r--r--src/libs/utils/qtcprocess.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/libs/utils/qtcprocess.cpp b/src/libs/utils/qtcprocess.cpp
index 0f3764e35c..440a4cf3f2 100644
--- a/src/libs/utils/qtcprocess.cpp
+++ b/src/libs/utils/qtcprocess.cpp
@@ -353,12 +353,9 @@ public:
: m_process(new ProcessHelper(this))
, m_blockingImpl(new QProcessBlockingImpl(m_process))
{
- connect(m_process, &QProcess::started,
- this, &QProcessImpl::handleStarted);
- connect(m_process, QOverload<int, QProcess::ExitStatus>::of(&QProcess::finished),
- this, &QProcessImpl::handleFinished);
- connect(m_process, &QProcess::errorOccurred,
- this, &QProcessImpl::handleError);
+ connect(m_process, &QProcess::started, this, &QProcessImpl::handleStarted);
+ connect(m_process, &QProcess::finished, this, &QProcessImpl::handleFinished);
+ connect(m_process, &QProcess::errorOccurred, this, &QProcessImpl::handleError);
connect(m_process, &QProcess::readyReadStandardOutput, this, [this] {
emit readyRead(m_process->readAllStandardOutput(), {});
});