build fix for the case when QPROCESS_DEBUG is defined

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2021-09-29 01:45:46 +03:00
parent e6eb9b93ea
commit 6f3bdb4c3e
2 changed files with 2 additions and 2 deletions

View file

@ -216,7 +216,7 @@ void QProcessManager::catchDeadChildren()
qt_safe_write((*it)->d_func()->deathPipe[1], "", 1);
#if defined (QPROCESS_DEBUG)
qDebug() << "QProcessManager::run() sending death notice to" << process;
qDebug() << "QProcessManager::run() sending death notice to" << (*it);
#endif
++it;
}

View file

@ -112,7 +112,7 @@ int QEventDispatcherUNIXPrivate::doSelect(QEventLoop::ProcessEventsFlags flags,
if (ret == -1 && (fds.revents & POLLNVAL) != 0) {
// disable the invalid socket notifier
qWarning("QSocketNotifier: Invalid socket %d and type '%s', disabling...",
sn->fd, sockTypeString[type]);
sn->fd, sockTypeString[type]);
sn->obj->setEnabled(false);
}
}