diff options
author | Louai Al-Khanji <louai.al-khanji@theqtcompany.com> | 2016-02-04 17:46:50 -0800 |
---|---|---|
committer | Louai Al-Khanji <louai.al-khanji@theqtcompany.com> | 2016-02-05 06:59:05 +0000 |
commit | 58bd015ddff84c6bd0b5dcff54b9512e188f346c (patch) | |
tree | 97734fcabaaaa82a1b31dd872fda7fb2bb542ca2 /src/corelib/io/qprocess_unix.cpp | |
parent | 3b73ee0fb54c45e51e329614d18e667f7e751d41 (diff) |
QProcess: Remove dead code
These functions appear to have been dead code always - even in the
earliest Qt4 releases!
Change-Id: Ie2a458092b45113782284cf8ed3aa11a018b60d4
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/io/qprocess_unix.cpp')
-rw-r--r-- | src/corelib/io/qprocess_unix.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/corelib/io/qprocess_unix.cpp b/src/corelib/io/qprocess_unix.cpp index a6900544be..f9d14c8e5a 100644 --- a/src/corelib/io/qprocess_unix.cpp +++ b/src/corelib/io/qprocess_unix.cpp @@ -1034,12 +1034,6 @@ bool QProcessPrivate::waitForFinished(int msecs) return false; } -bool QProcessPrivate::waitForWrite(int msecs) -{ - pollfd pfd = qt_make_pollfd(stdinChannel.pipe[1], POLLOUT); - return qt_poll_msecs(&pfd, 1, msecs < 0 ? 0 : msecs) == 1; -} - void QProcessPrivate::findExitCode() { } |