summaryrefslogtreecommitdiffstats
path: root/examples/serialport/cenumerator
diff options
context:
space:
mode:
authorLaszlo Papp <lpapp@kde.org>2013-10-05 06:40:41 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-06 07:53:17 +0200
commit6e03505a1a2b6ce6e5dc1a5ee28c084ef4692380 (patch)
tree5d2d44060c85b3695e2a9277875e8dfb7edff226 /examples/serialport/cenumerator
parent2e237466d3f3e1f2d41be681364b76fe82b7886a (diff)
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/serialport/cenumerator')
0 files changed, 0 insertions, 0 deletions