[Patch] KListWidgetSearchLine sorts QListWidget even if sorting is disabled

Olivier Goffart ogoffart at kde.org
Thu Apr 10 19:59:49 BST 2008


Le jeudi 10 avril 2008, Nicolas Ternisien a écrit :
> And now, why not attaching the patch ? ;-)
>
> On Thu, Apr 10, 2008 at 2:40 PM, Nicolas Ternisien
>
> <nicolas.ternisien at gmail.com> wrote:
> > In fact, there is an other problem in this class, that does not rely
> >  on QListWidgetItem::setHidden() and QListWidgetItem::isHidden(), and
> >  which changes list ordering when a filter is setted and removed.
> >
> >  This new patch uses now this feature, and KListWidgetSearchLine has
> >  now the same behavior than KTreeWidgetSearchLine.
> >


The problem would be with application like kopete that would use setHidden to 
hide offline contact.  You would loose that information.
(I think :-))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080410/f20ebbe2/attachment.sig>


More information about the kde-core-devel mailing list