summaryrefslogtreecommitdiff
path: root/src/controls/plugin.cpp
diff options
context:
space:
mode:
authorJan Arve Saether <jan-arve.saether@digia.com>2013-12-23 15:43:33 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-07 09:39:40 +0100
commit7e8dc84430426180c7489cf2d29c36ed8b54c0c3 (patch)
tree48275991756950682244ea7e8fc060e2b8614a89 /src/controls/plugin.cpp
parent6644897dc61f4a15141534c893fd08b12df89bbe (diff)
downloadqtquickcontrols-7e8dc84430426180c7489cf2d29c36ed8b54c0c3.tar.gz
Do not loop infinitely if a span is larger than the layout extent
There is no point in searching through all cells to see if an item of columnSpan 3 fits into a layout with 2 columns, since it won't ever fit. So instead we detect this case early and ignore the item for inclusion. Task-number: QTBUG-35778 Change-Id: I3f7963df17b05b3eb14ba0bae49e5a885d15b33b Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'src/controls/plugin.cpp')
0 files changed, 0 insertions, 0 deletions