diff options
| author | Luca Beldi <v.ronin@yahoo.it> | 2018-08-17 09:04:17 +0100 |
|---|---|---|
| committer | Luca Beldi <v.ronin@yahoo.it> | 2018-08-17 08:10:11 +0000 |
| commit | 70ba75519d66243b6fef6d452e9e158f7d3ea438 (patch) | |
| tree | d7642203bd3e14c4ad74e9cb3bc38738b293c83c /src/plugins/sqldrivers/sqlite/qsql_sqlite.cpp | |
| parent | 29778037f8a7b2c86bc4044409b37d5a51a15432 (diff) | |
QSortFilterProxyModel inserting at bottom of source model
Before this change, if you try to insert a row at the bottom of QSortFilterProxyModel
the row will be inserted in the source model at position proxy->rowCount rather
than at the bottom. This causes insert at apparently random positions in the source.
[ChangeLog][QtCore][QSortFilterProxyModel]
QSortFilterProxyModel::insertRows(row,count,parent) with
row == QSortFilterProxyModel::rowCount will insert at the bottom of the source model
rather than at the row QSortFilterProxyModel::rowCount of the source model
Task-number: QTBUG-58499
Task-number: QTBUG-69158
Change-Id: Ie78416c8fbc429303b8c9c98375630e3e4d85f6d
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/plugins/sqldrivers/sqlite/qsql_sqlite.cpp')
0 files changed, 0 insertions, 0 deletions
