summaryrefslogtreecommitdiffstats
path: root/tools/designer
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2010-02-02 12:46:09 (GMT)
committerSamuli Piippo <samuli.piippo@digia.com>2011-06-09 10:04:47 (GMT)
commit2cf77cc6154d4e902514dd7e9a13ee86c0d2c99b (patch)
treee9c23bad15cdab58bb70b2676d9ae1986fdb7b0a /tools/designer
parenteb02a9c18af884412bcb94c9f9a73ee1b9c98000 (diff)
downloadQt-2cf77cc6154d4e902514dd7e9a13ee86c0d2c99b.zip
Qt-2cf77cc6154d4e902514dd7e9a13ee86c0d2c99b.tar.gz
Qt-2cf77cc6154d4e902514dd7e9a13ee86c0d2c99b.tar.bz2
QSortFilterProxyModel: Fix dynamic sorting when severals rows are added.
We need to update the sorting column in clear_mapping. But the problem is that updating the source column create a mapping (because it uses mapToSource). So we need to clear that wrong mapping again In _q_sourceLayoutChanged there was an uneeded special case. The case where the source_sort_column might change was never triggered because of that. So now that the special case has been removed, we need to do as in clear_mapping. The test cover the change in clear_mapping and in _q_sourceLayoutChanged The problem was shown in the Kopete: https://bugs.kde.org/show_bug.cgi?id=199850 Reviewed-by: Thierry Task-number: QTBUG-7537 (cherry picked from commit 7b96944a02991e404cdab61e24182b90f5849120)
Diffstat (limited to 'tools/designer')
0 files changed, 0 insertions, 0 deletions