]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/views/dolphinviewactionhandler.cpp
Fix style-issues in items when not using Oxygen
[dolphin.git] / src / views / dolphinviewactionhandler.cpp
index f765b4a09edcba0f9dbf696dedf00df787931938..caa35230ab3740b58f62ea554b3aa8445c7c0a3c 100644 (file)
@@ -69,7 +69,7 @@ void DolphinViewActionHandler::setCurrentView(DolphinView* view)
                                                    QList<DolphinView::AdditionalInfo>)),
             this, SLOT(slotAdditionalInfoListChanged(QList<DolphinView::AdditionalInfo>,
                                                      QList<DolphinView::AdditionalInfo>)));
-    connect(view, SIGNAL(categorizedSortingChanged(bool)),
+    connect(view, SIGNAL(groupedSortingChanged(bool)),
             this, SLOT(slotGroupedSortingChanged(bool)));
     connect(view, SIGNAL(hiddenFilesShownChanged(bool)),
             this, SLOT(slotHiddenFilesShownChanged(bool)));
@@ -314,6 +314,9 @@ QString DolphinViewActionHandler::currentViewModeActionName() const
         return "details";
     case DolphinView::CompactView:
         return "compact";
+    default:
+        Q_ASSERT(false);
+        break;
     }
     return QString(); // can't happen
 }