[Patch] KListWidgetSearchLine sorts QListWidget even if sorting is disabled

Nicolas Ternisien nicolas.ternisien at gmail.com
Thu Apr 10 13:41:18 BST 2008


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.
>
>  ++
>
>  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.
>  >
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: klistwidgetsearchline-sort-ifsorting-enabled.patch
Type: text/x-diff
Size: 4077 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080410/60f03b5d/attachment.patch>


More information about the kde-core-devel mailing list