summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorLaszlo Papp <lpapp@kde.org>2014-03-04 06:47:33 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-04 12:26:46 +0100
commit903c050fa4fdd2124f9f0709520b75a557080a92 (patch)
tree2dcd470313b1fb92135edcc1bea579fdbed14ded /examples
parent959775c41683033adbd99faab7e3d70e0009c143 (diff)
downloadqtserialport-903c050fa4fdd2124f9f0709520b75a557080a92.tar.gz
Use early return on error in the open method
It was done like that for consistency with QFile, probably, but it is not a good style in Qt overall. Change-Id: I5233a7f0f03cab947b061520fe2ec64585632920 Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions