]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinview.cpp
use the fixed resizing mode (it is assured that each column stays readable)
[dolphin.git] / src / dolphinview.cpp
index e790a051830ea9acc4a11107a3fc7fa5dd99c00b..73b44e6fb868c68fb07dc29d86fcb32655bcbf48 100644 (file)
@@ -51,7 +51,6 @@
 #include "viewproperties.h"
 #include "dolphinsettings.h"
 #include "dolphin_generalsettings.h"
-#include "dolphincategorydrawer.h"
 
 DolphinView::DolphinView(QWidget* parent,
                          const KUrl& url,
@@ -804,21 +803,27 @@ void DolphinView::createView()
 
     // ... and recreate it representing the current mode
     switch (m_mode) {
-    case IconsView:
+    case IconsView: {
         m_iconsView = new DolphinIconsView(this, m_controller);
-        m_iconsView->setCategoryDrawer(new DolphinCategoryDrawer());
         view = m_iconsView;
         break;
+    }
 
     case DetailsView:
         m_detailsView = new DolphinDetailsView(this, m_controller);
         view = m_detailsView;
+
+        // categorized sorting is not supported yet for the details
+        // view, even if the view properties indicate this
         setCategorizedSorting(false);
         break;
 
     case ColumnView:
         m_columnView = new DolphinColumnView(this, m_controller);
         view = m_columnView;
+
+        // categorized sorting is not supported yet for the column
+        // view, even if the view properties indicate this
         setCategorizedSorting(false);
         break;
     }