summaryrefslogtreecommitdiffstats
path: root/tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2024-02-02 21:44:37 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2024-02-09 07:15:07 +0000
commit8501df2c09195809c1625350e6ba2efbf0bfd0c7 (patch)
tree3cf578eb6be5a16c296ec0b9fec37545cf538966 /tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp
parent96775c7c1101c09576b20849dbf4ea1862a15347 (diff)
QAbstractItemView: close all child editors when parent is removed
QAIV::rowsAboutToBeRemoved() closed all child editors when the child was a direct ancestor of the removed index but forgot to check if the index is an indirect ancestor. Some of those editors were removed later in updateEditorGeometries() but not all as the testcase in the bug report showed. Pick-to: 6.6 6.5 Fixes: QTBUG-103476 Change-Id: I90b3d3bff3857aa79f96eecf23d980928693b7bc Reviewed-by: David Faure <david.faure@kdab.com> (cherry picked from commit 1d799e91082092821a04885bd9d069febefc37da) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions