mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 10:52:56 +00:00
remove unused and internal QProcessPrivate::waitForWrite()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
20b505d465
commit
3ab11e5ed5
2 changed files with 0 additions and 9 deletions
|
@ -279,7 +279,6 @@ public:
|
|||
bool waitForReadyRead(int msecs = 30000);
|
||||
bool waitForBytesWritten(int msecs = 30000);
|
||||
bool waitForFinished(int msecs = 30000);
|
||||
bool waitForWrite(int msecs = 30000);
|
||||
|
||||
qint64 bytesAvailableFromStdout() const;
|
||||
qint64 bytesAvailableFromStderr() const;
|
||||
|
|
|
@ -1067,14 +1067,6 @@ bool QProcessPrivate::waitForFinished(int msecs)
|
|||
return false;
|
||||
}
|
||||
|
||||
bool QProcessPrivate::waitForWrite(int msecs)
|
||||
{
|
||||
fd_set fdwrite;
|
||||
FD_ZERO(&fdwrite);
|
||||
FD_SET(stdinChannel.pipe[1], &fdwrite);
|
||||
return select_msecs(stdinChannel.pipe[1] + 1, 0, &fdwrite, msecs < 0 ? 0 : msecs) == 1;
|
||||
}
|
||||
|
||||
void QProcessPrivate::findExitCode()
|
||||
{
|
||||
Q_Q(QProcess);
|
||||
|
|
Loading…
Add table
Reference in a new issue