summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforminputcontexts/ibus/qibustypes.cpp
diff options
context:
space:
mode:
authorDaiwei Li <daiweili@suitabletech.com>2015-05-22 01:26:08 -0700
committerDaiwei Li <daiweili@suitabletech.com>2015-06-25 00:46:48 +0000
commitdb377a420207be84b314b836d2756c57a25d057f (patch)
treefc25a1db9363952e18b60d19be0517bb54712319 /src/plugins/platforminputcontexts/ibus/qibustypes.cpp
parent862b1b3cebb21658684e9166576dadc1c371322f (diff)
QSortFilterProxyModel: Keep invalid index updated on source model sort
If we have a filter applied that removes all entries, the source model is sorted, and then we remove the filter, QSortFilterProxyModel never emits rowsInserted. This is because it doesn't have the correct source mapping and doesn't update when the filter is removed. Change-Id: I447b2d150e509b128d27f4dabc4e081ca4ef037f Task-number: QTBUG-46282 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/plugins/platforminputcontexts/ibus/qibustypes.cpp')
0 files changed, 0 insertions, 0 deletions