summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qprocess.cpp
diff options
context:
space:
mode:
authorAlex Trotsenko <alex1973tr@gmail.com>2021-01-04 16:11:25 +0200
committerAlex Trotsenko <alex1973tr@gmail.com>2021-01-05 21:15:37 +0200
commit13f9e2857bce165de0fff2c7dd25bd4155566801 (patch)
tree7990ce1876a0ad429c8889827134f53af520e068 /src/corelib/io/qprocess.cpp
parent9d36ee1904114a91a5c08b18ccfb72cd1d33d58f (diff)
Remove superfluous call in QProcessPrivate::_q_startupNotification
There is no need to disable startupSocketNotifier because the call to QProcessPrivate::processStarted() will do that. Change-Id: I20b816533d9a5c4b9bf57135d26166c961a07d07 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Diffstat (limited to 'src/corelib/io/qprocess.cpp')
-rw-r--r--src/corelib/io/qprocess.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/corelib/io/qprocess.cpp b/src/corelib/io/qprocess.cpp
index 842d219a43..2e3bd9cf59 100644
--- a/src/corelib/io/qprocess.cpp
+++ b/src/corelib/io/qprocess.cpp
@@ -1208,8 +1208,6 @@ bool QProcessPrivate::_q_startupNotification()
qDebug("QProcessPrivate::startupNotification()");
#endif
- if (startupSocketNotifier)
- startupSocketNotifier->setEnabled(false);
QString errorMessage;
if (processStarted(&errorMessage)) {
q->setProcessState(QProcess::Running);