Skip to content

GUI does not properly check return value of TIODevice::writeData

When the writing fails or is incomplete (return value is less than the length of data sent), there is no indication. Moreover, the GUI states that everything has been sucessfully sent - the data is logged in the text widget, whether the write was successful or not.

Furthermore, when reading N bytes, and less than N bytes get read, the Error dialog is IMHO unnecessary.

Edited by Petr Socha