From b577aeabc42b8df4f8486edf96cf9a90e6fc9f2e Mon Sep 17 00:00:00 2001 From: Denis Shienkov Date: Mon, 15 Jun 2015 22:34:41 +0300 Subject: 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 Reviewed-by: Oswald Buddenhagen Reviewed-by: Denis Shienkov --- src/serialport/qserialport_p.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/serialport/qserialport_p.h') 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); -- cgit v1.2.1