[PATCH] Use natural sorting in KUrlNavigator popup

Aurélien Gâteau aurelien.gateau at free.fr
Thu Oct 11 22:59:01 BST 2007


Hello,

I noticed the KUrlNavigator popup currently display items in plain
alphabetic-case sensitive order. Attached patch use naturalCompare from
KDirSortFilterProxyModel to sort the list in natural order.

I also moved the sort to the listJobFinished() method, since there is no
need to sort the list every time we receive entries.

Is it ok to commit?

Aurélien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kurlnavigatorbutton_naturalsortpopup.diff
Type: text/x-diff
Size: 932 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071011/9229d299/attachment.diff>


More information about the kde-core-devel mailing list