diff options
| author | Rafael Fernández López <[email protected]> | 2007-09-25 21:17:18 +0000 |
|---|---|---|
| committer | Rafael Fernández López <[email protected]> | 2007-09-25 21:17:18 +0000 |
| commit | 2c689ca4f7c8dfe62c75dc3c93ac9df2f31c0a8c (patch) | |
| tree | 6af357cc86240fdf9d4749d091ca858795152c42 | |
| parent | 93f8093b661d6cd8db6dd747fbdfe38ebd38294b (diff) | |
Whenever we are trying to sort, bypass lessThanGeneralPurpose when is not allowed to sort by categories. This will result as bad sortings on Detailed and in
Column views.
CCMAIL: [email protected]
svn path=/trunk/KDE/kdebase/apps/; revision=717022
| -rw-r--r-- | src/dolphinview.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index a85e2db9b..5f7fc1148 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -219,7 +219,12 @@ bool DolphinView::showHiddenFiles() const void DolphinView::setCategorizedSorting(bool categorized) { - if (!supportsCategorizedSorting() || (categorized == categorizedSorting())) { + if (categorized && !supportsCategorizedSorting()) { + setCategorizedSorting(false); + return; + } + + if (categorized == categorizedSorting()) { return; } |
