diff options
author | Olga Radko <olya_r@tut.by> | 2018-08-09 16:50:03 +0300 |
---|---|---|
committer | Olga Radko <olya_r@tut.by> | 2018-09-06 05:56:18 +0000 |
commit | c88305b68d228a60fa302afb627b6887ece7a110 (patch) | |
tree | bd7937c3b8f7af7ed38e9e99bea1d4ddc138aa4c /src/gui/itemmodels/qstandarditemmodel.cpp | |
parent | 028727c20ca43f1a56bad010354837e238e30024 (diff) |
QSortFilterProxyModel: add test for inserting via a QComboBox
This new test double-checks the bugfix for QSortFilterProxyModel::insertRows
in commit 70ba75519d. Previously, when using QComboBox on top of
QSortFilterProxyModel and calling QComboBox::addItem with row==rowCount(),
an empty item was inserted in one place, and then another item was modified
(instead of the inserted empty one). This test checks that the above bugfix
indeed fixes the behavior of QComboBox::addItem when used in this manner.
Task-number: QTBUG-69158
Change-Id: Id01345e0525694a57250c656222d626e2267aa8e
Reviewed-by: Luca Beldi <v.ronin@yahoo.it>
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/gui/itemmodels/qstandarditemmodel.cpp')
0 files changed, 0 insertions, 0 deletions