[Patch] KListWidgetSearchLine sorts QListWidget even if sorting is disabled

Nicolas Ternisien nicolas.ternisien at gmail.com
Thu Apr 10 13:40:45 BST 2008


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.

++

Nicolas

On Thu, Apr 10, 2008 at 1:56 PM, Nicolas Ternisien
<nicolas.ternisien at gmail.com> wrote:
> Hi,
>
>  As the title said : KListWidgetSearchLine sorts the related
>  QListWidget even if sorting is disabled in this QListWidget. The
>  amazing attached patch fixes this problem. Any comment before applying
>  it ?
>
>  Nicolas.
>




More information about the kde-core-devel mailing list