]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Whenever we are trying to sort, bypass lessThanGeneralPurpose when is not allowed...
authorRafael Fernández López <ereslibre@kde.org>
Tue, 25 Sep 2007 21:17:18 +0000 (21:17 +0000)
committerRafael Fernández López <ereslibre@kde.org>
Tue, 25 Sep 2007 21:17:18 +0000 (21:17 +0000)
Column views.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=717022

src/dolphinview.cpp

index a85e2db9ba482c08c420c825421f242ff954eabe..5f7fc11480b24117f0fb027641c0cebef931b4fe 100644 (file)
@@ -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;
     }