Revision 1188180

Go back to digest for 24th October 2010

Bug Fixes in KDE Base

Peter Penz committed changes in /trunk/KDE/kdelibs/kdecore:

Forward port:
Revert the patch to handle ' ', '.' and '_' equally, as this violates the rule: if a < b and b < c, a must also be < c.
The issue can be reproduced with the strings abc.jpg, abc1.jpg and abc_a.jpg.

I really propose to make this "natural sorting" not more clever than necessary, just handling digits in a "natural" way is sufficient from my point of view.

File Changes

Modified 2 files
  • /trunk/KDE/kdelibs/kdecore
  •   /tests/kstringhandlertest.cpp
  •   /text/kstringhandler.cpp
2 files changed in total