From 5e7297623786a79073d3c2d9b69e22f6d8b75e29 Mon Sep 17 00:00:00 2001 From: Alex Trotsenko Date: Wed, 9 Dec 2020 13:06:30 +0200 Subject: [PATCH] QProcess: remove outdated references to QProcessManager No such thing exists since Qt 5.5. Change-Id: Ib3f83dbb1087db1880ef37438669430e0f076301 Reviewed-by: Oswald Buddenhagen --- src/corelib/io/qprocess.cpp | 2 -- src/corelib/io/qprocess.h | 1 - 2 files changed, 3 deletions(-) diff --git a/src/corelib/io/qprocess.cpp b/src/corelib/io/qprocess.cpp index fb769ef74ce..58e0172d633 100644 --- a/src/corelib/io/qprocess.cpp +++ b/src/corelib/io/qprocess.cpp @@ -1142,7 +1142,6 @@ bool QProcessPrivate::_q_startupNotification() q->setProcessState(QProcess::NotRunning); setErrorAndEmit(QProcess::FailedToStart, errorMessage); #ifdef Q_OS_UNIX - // make sure the process manager removes this entry waitForDeadChild(); findExitCode(); #endif @@ -1197,7 +1196,6 @@ QProcess::~QProcess() waitForFinished(); } #ifdef Q_OS_UNIX - // make sure the process manager removes this entry d->findExitCode(); #endif d->cleanup(); diff --git a/src/corelib/io/qprocess.h b/src/corelib/io/qprocess.h index 86c778d5116..f9c05a4f292 100644 --- a/src/corelib/io/qprocess.h +++ b/src/corelib/io/qprocess.h @@ -284,7 +284,6 @@ private: Q_PRIVATE_SLOT(d_func(), bool _q_canWrite()) Q_PRIVATE_SLOT(d_func(), bool _q_startupNotification()) Q_PRIVATE_SLOT(d_func(), void _q_processDied()) - friend class QProcessManager; }; #endif // QT_CONFIG(process)