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>
bb10
Alex Trotsenko 2021-01-04 16:11:25 +02:00
parent 9d36ee1904
commit 13f9e2857b
1 changed files with 0 additions and 2 deletions

View File

@ -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);