diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2015-12-18 22:53:14 +0300 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2016-01-11 09:26:30 +0000 |
commit | 4ff8b20cf2877298c8437fb892ebda600f46e293 (patch) | |
tree | 7bca3c7329ac465a79d2965d29e5e13d63983d2a /src/serialport/qserialport_p.h | |
parent | afe2f2386ecfdc3d0d3fe46f7d1662ab0b6851ce (diff) | |
download | qtserialport-4ff8b20cf2877298c8437fb892ebda600f46e293.tar.gz |
Suppress error emission when closing
When the error signal is connected to a slot which calls QSP::close()
and an error occurs in this method, this would lead to infinite recursion.
Other Qt I/O classes avoid this problem by not emitting errors while
closing the device, so we should not, either.
Task-number: QTBUG-50052
Change-Id: Icfbcb19c32b8bd7fc586ab5253dc754e78829f11
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'src/serialport/qserialport_p.h')
0 files changed, 0 insertions, 0 deletions