Return after an error of the async write operation


Tested on Windows 8 using the on-board and the USB serial
ports and using Qt4 and Qt5.

Change-Id: Idd25b81c9b6b2cd0b94e83fe30e6e7dad4dddfd6
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
commit1fc75ea6056b8546e5aea136fe580f97e833b828
parentfa1feb5737ef275e1a81f5469161b2bfad7e3f7d
authorDenis Shienkov <denis.shienkov@gmail.com>
committerThe Qt Project <gerrit-noreply@qt-project.org>
commit timeThu, 15 May 2014 11:07:26 +0200