From 13f9e2857bce165de0fff2c7dd25bd4155566801 Mon Sep 17 00:00:00 2001 From: Alex Trotsenko Date: Mon, 4 Jan 2021 16:11:25 +0200 Subject: [PATCH] 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 --- src/corelib/io/qprocess.cpp | 2 -- 1 file changed, 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);