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>
commit903c050fa4fdd2124f9f0709520b75a557080a92
parent959775c41683033adbd99faab7e3d70e0009c143
authorLaszlo Papp <lpapp@kde.org>
committerThe Qt Project <gerrit-noreply@qt-project.org>
commit timeTue, 4 Mar 2014 12:26:46 +0100