diff options
author | Lars Knoll <lars.knoll@qt.io> | 2019-10-30 11:42:58 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2019-10-30 11:52:22 +0100 |
commit | bc4e7aecc0db534ad4e52691f70c98f5ad643230 (patch) | |
tree | 00edef3047739d3a85c14152b765aa0d68524a2a /dist/changes-4.7.4 | |
parent | cd04181b2ba20e98a29a1782b3736539f70f6607 (diff) |
Don't try to insert items out of bounds
The q_items list is only used to hold a full list of all items in the
layout. They are kept in order for a linear layout, so that users see
them in the right order, but there's no real guarantee for that anyway
if combined with spacers and other non-items.
Continue to try keeping the order, but ensure indices that are out of
bounds are treated as appends to the list.
Change-Id: I22721c1fa8b329c5d16ad00c5cb780e099693cda
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'dist/changes-4.7.4')
0 files changed, 0 insertions, 0 deletions