From c1f27bb620337c7f173fce1dd3097fa3e43c2878 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 26 Oct 2007 18:34:45 +0000 Subject: Simplify the DolphinController: The "show hidden files" state can be retrieved by the DolphinView, there is no need introducing additional signals + states. Further cleanups will follow... svn path=/trunk/KDE/kdebase/apps/; revision=729721 --- src/dolphinview.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/dolphinview.cpp') diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index 085c791fd..c44afb219 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -253,7 +253,6 @@ void DolphinView::setShowHiddenFiles(bool show) props.setShowHiddenFiles(show); m_dirLister->setShowingDotFiles(show); - m_controller->setShowHiddenFiles(show); emit showHiddenFilesChanged(); loadDirectory(viewPropsUrl, true); @@ -655,7 +654,6 @@ void DolphinView::applyViewProperties(const KUrl& url) const bool showHiddenFiles = props.showHiddenFiles(); if (showHiddenFiles != m_dirLister->showingDotFiles()) { m_dirLister->setShowingDotFiles(showHiddenFiles); - m_controller->setShowHiddenFiles(showHiddenFiles); emit showHiddenFilesChanged(); } -- cgit v1.3