From e7390eba86f123fe3899d1f42c8e148aba52cf4d Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 6 Nov 2011 12:12:35 +0100 Subject: [PATCH] Show compact-mode icon also in Konqueror Additionally a broken signal-connection has been fixed. --- src/dolphinpart.rc | 2 +- src/settings/viewpropertiesdialog.cpp | 4 ++-- src/settings/viewpropertiesdialog.h | 2 +- src/views/dolphinviewactionhandler.cpp | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) 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))); -- 2.47.3