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>
| commit | 903c050fa4fdd2124f9f0709520b75a557080a92 |
| parent | 959775c41683033adbd99faab7e3d70e0009c143 |
| author | Laszlo Papp <lpapp@kde.org> |
| committer | The Qt Project <gerrit-noreply@qt-project.org> |
| commit time | Tue, 4 Mar 2014 12:26:46 +0100 |