diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2014-11-22 00:14:12 +0300 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2014-11-28 12:59:05 +0100 |
commit | 3ebd455163edbcb152eef475e4718362833a3581 (patch) | |
tree | 24410b9c8b2a8183162ee761ed27df81f6ddb50b /tests/auto | |
parent | e54305ffde1f5e8d02687ce9ddae55f8128de32d (diff) | |
download | qtserialport-3ebd455163edbcb152eef475e4718362833a3581.tar.gz |
Simplify and improve the QSP::TimeoutError handling
It is reasonable to get rid of duplicating a code of TimeoutError
handling. A common parts of a code can be moved to one place.
Also, can be improved some of related if/else conditions.
Tested on Windows 8 and Linux with virtual serial ports.
Change-Id: I63112727faf42d4357f64f3450ea422167eaee90
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions