From bbf9faa05396d66b3dbe101a0c309459e3ffacb1 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 26 Oct 2007 19:02:33 +0000 Subject: Simplify DolphinController: don't remember the show-preview state in the controller and add an unnecessary additional signal; instead just read the state from the DolphinView svn path=/trunk/KDE/kdebase/apps/; revision=729726 --- src/dolphincontroller.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/dolphincontroller.cpp') diff --git a/src/dolphincontroller.cpp b/src/dolphincontroller.cpp index bdb97170b..897d4266b 100644 --- a/src/dolphincontroller.cpp +++ b/src/dolphincontroller.cpp @@ -23,7 +23,6 @@ DolphinController::DolphinController(DolphinView* dolphinView) : QObject(dolphinView), - m_showPreview(false), m_zoomInPossible(false), m_zoomOutPossible(false), m_url(), @@ -85,14 +84,6 @@ void DolphinController::indicateAdditionalInfoChange(const KFileItemDelegate::In emit additionalInfoChanged(info); } -void DolphinController::setShowPreview(bool show) -{ - if (m_showPreview != show) { - m_showPreview = show; - emit showPreviewChanged(show); - } -} - void DolphinController::indicateActivationChange(bool active) { emit activationChanged(active); -- cgit v1.3