]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinview.cpp
Revert as it doesn't fix the problem completely... diving into this... sorry
[dolphin.git] / src / dolphinview.cpp
index 5f7fc11480b24117f0fb027641c0cebef931b4fe..a85e2db9ba482c08c420c825421f242ff954eabe 100644 (file)
@@ -219,12 +219,7 @@ bool DolphinView::showHiddenFiles() const
 
 void DolphinView::setCategorizedSorting(bool categorized)
 {
-    if (categorized && !supportsCategorizedSorting()) {
-        setCategorizedSorting(false);
-        return;
-    }
-
-    if (categorized == categorizedSorting()) {
+    if (!supportsCategorizedSorting() || (categorized == categorizedSorting())) {
         return;
     }