diff options
author | Thorbjørn Lund Martsum <tmartsum@gmail.com> | 2012-12-05 19:55:27 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-02-12 12:01:16 +0100 |
commit | 686dcce5fb2eef4adebfc2a247e96574ec062473 (patch) | |
tree | 13f5b2518d09945ecb0ffd6b2667d67591f2b823 /src/gui/kernel/qwindow.h | |
parent | 8d2679673e6268f826abe6d4ef1734e9d69edab5 (diff) |
Make QGraphicsViewPrivate::updateRubberBand more readable
This patch changes QGraphicsViewPrivate::updateRubberBand to return
at once in case some of the first conditions (which were needed to
do something with the rubberband) are not true.
The indentation after these ifs is fixed, and there are a few style
fixes, but beside the first 2 ifs, there are only white-space
and new-line changes.
Change-Id: I7e2edb7bfd334b35ee8ab246f733d854bff7e0f7
Reviewed-by: Andreas Aardal Hanssen <andreas@hanssen.name>
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
Diffstat (limited to 'src/gui/kernel/qwindow.h')
0 files changed, 0 insertions, 0 deletions