diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2015-06-15 22:34:41 +0300 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2015-06-23 18:27:58 +0000 |
commit | b577aeabc42b8df4f8486edf96cf9a90e6fc9f2e (patch) | |
tree | b58d151d73e8a260dd4a6fb95568a52c99a62567 /src/serialport/qserialport_p.h | |
parent | 71c38793265fc2966cde5ef64ef21c4bb122bd0f (diff) | |
download | qtserialport-b577aeabc42b8df4f8486edf96cf9a90e6fc9f2e.tar.gz |
Do not use the queued connection to handle an I/O events on Windows
... that simplifies the code of waitForXX() methods. In this case
we do not need to call the completion methods, because it does the
_q_notified() slot automatically even without an event loop.
Tested with the virtual com0com serial ports, using auto tests
and examples.
Change-Id: I33d6c91d1842fd3eff1673d60e8413d471725f74
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'src/serialport/qserialport_p.h')
-rw-r--r-- | src/serialport/qserialport_p.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/serialport/qserialport_p.h b/src/serialport/qserialport_p.h index ad8d9d0..7da2204 100644 --- a/src/serialport/qserialport_p.h +++ b/src/serialport/qserialport_p.h @@ -202,7 +202,6 @@ public: bool initialize(); bool updateDcb(); bool updateCommTimeouts(); - qint64 overlappedResult(OVERLAPPED *overlapped); void handleLineStatusErrors(); OVERLAPPED *waitForNotified(int msecs); |