From: Peter Penz Date: Sun, 6 Nov 2011 11:12:35 +0000 (+0100) Subject: Show compact-mode icon also in Konqueror X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/e7390eba86f123fe3899d1f42c8e148aba52cf4d Show compact-mode icon also in Konqueror Additionally a broken signal-connection has been fixed. --- diff --git a/src/dolphinpart.rc b/src/dolphinpart.rc index 1ff1e040f..893d6c831 100644 --- a/src/dolphinpart.rc +++ b/src/dolphinpart.rc @@ -47,8 +47,8 @@ Dolphin Toolbar + - diff --git a/src/settings/viewpropertiesdialog.cpp b/src/settings/viewpropertiesdialog.cpp index 3e96bebed..c07c072d1 100644 --- a/src/settings/viewpropertiesdialog.cpp +++ b/src/settings/viewpropertiesdialog.cpp @@ -160,7 +160,7 @@ ViewPropertiesDialog::ViewPropertiesDialog(DolphinView* dolphinView) : connect(m_previewsShown, SIGNAL(clicked()), this, SLOT(slotShowPreviewChanged())); connect(m_showInGroups, SIGNAL(clicked()), - this, SLOT(slotCategorizedSortingChanged())); + this, SLOT(slotGroupedSortingChanged())); connect(m_showHiddenFiles, SIGNAL(clicked()), this, SLOT(slotShowHiddenFilesChanged())); @@ -260,7 +260,7 @@ void ViewPropertiesDialog::slotSortOrderChanged(int index) markAsDirty(true); } -void ViewPropertiesDialog::slotCategorizedSortingChanged() +void ViewPropertiesDialog::slotGroupedSortingChanged() { m_viewProps->setGroupedSorting(m_showInGroups->isChecked()); markAsDirty(true); diff --git a/src/settings/viewpropertiesdialog.h b/src/settings/viewpropertiesdialog.h index 694cffe88..6b0e9ff48 100644 --- a/src/settings/viewpropertiesdialog.h +++ b/src/settings/viewpropertiesdialog.h @@ -53,7 +53,7 @@ private slots: void slotViewModeChanged(int index); void slotSortingChanged(int index); void slotSortOrderChanged(int index); - void slotCategorizedSortingChanged(); + void slotGroupedSortingChanged(); void slotSortFoldersFirstChanged(); void slotShowPreviewChanged(); void slotShowHiddenFilesChanged(); diff --git a/src/views/dolphinviewactionhandler.cpp b/src/views/dolphinviewactionhandler.cpp index f88e01a45..caa35230a 100644 --- a/src/views/dolphinviewactionhandler.cpp +++ b/src/views/dolphinviewactionhandler.cpp @@ -69,7 +69,7 @@ void DolphinViewActionHandler::setCurrentView(DolphinView* view) QList)), this, SLOT(slotAdditionalInfoListChanged(QList, QList))); - connect(view, SIGNAL(categorizedSortingChanged(bool)), + connect(view, SIGNAL(groupedSortingChanged(bool)), this, SLOT(slotGroupedSortingChanged(bool))); connect(view, SIGNAL(hiddenFilesShownChanged(bool)), this, SLOT(slotHiddenFilesShownChanged(bool)));