Review Request 115828: Add a workaround for broken sorting
Martin Klapetek
martin.klapetek at gmail.com
Mon Feb 17 16:57:54 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115828/#review50069
-----------------------------------------------------------
Ship it!
Probably nothing better we can do now...
- Martin Klapetek
On Feb. 17, 2014, 1:22 p.m., David Edmundson wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/115828/
> -----------------------------------------------------------
>
> (Updated Feb. 17, 2014, 1:22 p.m.)
>
>
> Review request for Telepathy.
>
>
> Repository: ktp-common-internals
>
>
> Description
> -------
>
> Add a workaround for broken sorting
>
> There is a bug in QSortFilterProxyModel in which if sort() is called
> on a model where all items are filtered it will not start sorting
> as it cannot map the proxy column to the source column.
>
> This gets updated whenever there's an insertRows but not from
> a dataChanged. With the kpeople cache this means that it's not sorting
> as we never do an insertRows.
>
> This bug is fixed in Qt5.2, but not in 4.x
>
>
> Diffs
> -----
>
> KTp/Models/contacts-filter-model.h a891d6b
> KTp/Models/contacts-filter-model.cpp df12112
>
> Diff: https://git.reviewboard.kde.org/r/115828/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> David Edmundson
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20140217/c33650bf/attachment-0001.html>
More information about the KDE-Telepathy
mailing list