]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinview.cpp
Hide unused and not drawn columns on the details view
[dolphin.git] / src / dolphinview.cpp
index e790a051830ea9acc4a11107a3fc7fa5dd99c00b..e0a3df51e6ebc4251d5206f1261205bd2a3e71ef 100644 (file)
@@ -804,11 +804,16 @@ void DolphinView::createView()
 
     // ... and recreate it representing the current mode
     switch (m_mode) {
-    case IconsView:
+    case IconsView: {
+        const KUrl viewPropsUrl = viewPropertiesUrl();
+        const ViewProperties props(viewPropsUrl);
+
         m_iconsView = new DolphinIconsView(this, m_controller);
         m_iconsView->setCategoryDrawer(new DolphinCategoryDrawer());
         view = m_iconsView;
+        setCategorizedSorting(props.categorizedSorting());
         break;
+    }
 
     case DetailsView:
         m_detailsView = new DolphinDetailsView(this, m_controller);