diff options
author | Caroline Chao <caroline.chao@digia.com> | 2014-09-01 15:55:22 +0200 |
---|---|---|
committer | Caroline Chao <caroline.chao@digia.com> | 2014-09-02 07:53:09 +0200 |
commit | 8f2c30428011c3048eb7abc6295f774b46c53494 (patch) | |
tree | 856ac16d7362895dc3db31887c87141409608714 /resource.qrc | |
parent | 046e1c65c1c7ade974c7b78408dd2bbd7ff1b18b (diff) |
Disable dynamicSortFilter for the proxy model
There are some models issues when adding/removing favorite events from
the Presentations page.
Adding/removing favorites updates the eventModel. The eventModel
is sometimes used as source model for the SortProxyModel, as in the
EventsList. As stated by the documentation, dynamicSortFilter should be
set to false in that case so that the proxy model is not automatically
sorted every time the model change. In our case, only the favorite field
is updated so there is no need to call sort() again.
Change-Id: I01a752748a88f4033349b9cb7af5dba47e8f34ae
Reviewed-by: Niels Weber <niels.weber@digia.com>
Diffstat (limited to 'resource.qrc')
0 files changed, 0 insertions, 0 deletions