diff options
author | Marcel Kummer <marcel.kummer@qt.io> | 2022-06-15 13:13:25 +0200 |
---|---|---|
committer | Marcel Kummer <marcel.kummer@qt.io> | 2022-06-17 18:29:11 +0200 |
commit | 29176bf2f836ba05206680ae1c00edf786202648 (patch) | |
tree | 324477965f81150e02fcf23f25328b8573197d7e /src/printsupport/dialogs | |
parent | a2cb9ae8cc6c512e9c16f3fecc79dad9d585948a (diff) |
QBoxLayout: Pull out handling for negative insertion indices
This snippet occurs in every insert function further down. Let's pull
it out in preparation for adding an assertion that the index is in
range, which would also need to be added to every insert function.
Fixes: QTBUG-103775
Change-Id: I419f57434f860df4c947853ac307826994f0198b
Pick-to: 6.2 6.3 6.4
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/printsupport/dialogs')
0 files changed, 0 insertions, 0 deletions