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>
commit4ff8b20cf2877298c8437fb892ebda600f46e293
parentafe2f2386ecfdc3d0d3fe46f7d1662ab0b6851ce
authorDenis Shienkov <denis.shienkov@gmail.com>
committerDenis Shienkov <denis.shienkov@gmail.com>
commit timeMon, 11 Jan 2016 09:26:30 +0000