]> cloud.milkyroute.net Git - dolphin.git/commit
Fix several sort-issues
authorPeter Penz <peter.penz19@gmail.com>
Tue, 13 Dec 2011 22:38:57 +0000 (23:38 +0100)
committerPeter Penz <peter.penz19@gmail.com>
Tue, 13 Dec 2011 22:43:28 +0000 (23:43 +0100)
commit67783026f5c4de6f3c757f967d0e9a6a48295361
treecb3ef1a14fddae480141cbc71c7c885df08037f7
parentbd9f6e49d395568311f03e5bb1b8ffc76360e447
Fix several sort-issues

- Treeview: When sorting descending assure that the parent item is still
  ordered before the child items and not afterwards.
- Treeview: When sorting by other roles than names expansionsLevelCompare()
  had been buggy and resulted in ordering child items below wrong parent
  items.
- General: When sorting by another role than names and the role of
  two items had been equal a case sensitive sorting of the names had
  been done. This has been fixed by using the default name sorting
  as fallback.

BUG: 286726
FIXED-IN: 4.8.0
src/kitemviews/kfileitemmodel.cpp
src/kitemviews/kfileitemmodel.h