diff options
author | Laszlo Papp <lpapp@kde.org> | 2013-10-05 06:40:41 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-06 07:53:17 +0200 |
commit | 6e03505a1a2b6ce6e5dc1a5ee28c084ef4692380 (patch) | |
tree | 5d2d44060c85b3695e2a9277875e8dfb7edff226 /examples | |
parent | 2e237466d3f3e1f2d41be681364b76fe82b7886a (diff) | |
download | qtserialport-6e03505a1a2b6ce6e5dc1a5ee28c084ef4692380.tar.gz |
Return in certain methods if the device is not open
This is necessary for a couple of methods because they require the port being
open for being functional. Hence, if the port is not open, they now return
properly on their own, and set the "NotOpenError" error code .
This has been (only build!) tested on Linux (Arch) with Qt 4 and then 5.
Change-Id: Ifc77bea581dd1832e188fa7562c5c1b15c0532e3
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions