Revision 6b375d2...

Go back to digest for 18th August 2013

Bug Fixes in KDE Base

Frank Reininghaus committed changes in [kde-baseapps/KDE/4.11] /src:

Make sure that the sort order is correct after renaming

KFileItemModel::setData() should not only cause a resorting when the
sort role is changed. The name is always used as a fallback if the sort
role of multiple files is equal, therefore, renaming a file can change
the correct order of the files even if the files are not sorted by
"name".

Unit test included.


FIXED-IN: 4.11.1
REVIEW: 111721

File Changes

Modified 2 files
  • /src
  •   dolphin/kitemviews/kfileitemmodel.cpp
  •   dolphin/tests/kfileitemmodeltest.cpp
2 files changed in total