diff options
author | Sergey Belyashov <Sergey.Belyashov@gmail.com> | 2013-02-09 17:01:02 +0400 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-02-11 21:06:09 +0100 |
commit | 6e19301a87e9d0098d7e89e41d37f44ed9dad4bf (patch) | |
tree | 2c992ca25fc26fe23716ba4a139b308ec0a6cf66 /LGPL_EXCEPTION.txt | |
parent | a5eb09c28b6115296848af929c7df571d447580b (diff) | |
download | qtserialport-6e19301a87e9d0098d7e89e41d37f44ed9dad4bf.tar.gz |
Establish proper error handling for lines() method
Because lines method always uses system call to acquire actual status
which may fail in some reasons, it may change error state of SerialPort
object. So lines should be non-const method. In case of an error and when
no any lines active it returns NoLine value.
Original patch for this change is provided by Israel Lins <israelins85@yahoo.com.br>
Change-Id: I0858200ef29ce7f67175c66898f69d1766f0f760
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'LGPL_EXCEPTION.txt')
0 files changed, 0 insertions, 0 deletions