diff options
| author | Peter Penz <[email protected]> | 2007-10-26 19:02:33 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-10-26 19:02:33 +0000 |
| commit | bbf9faa05396d66b3dbe101a0c309459e3ffacb1 (patch) | |
| tree | 2d38fabb1f923be80129cfb22d2da314fa759df6 /src/dolphincontroller.cpp | |
| parent | c1f27bb620337c7f173fce1dd3097fa3e43c2878 (diff) | |
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
Diffstat (limited to 'src/dolphincontroller.cpp')
| -rw-r--r-- | src/dolphincontroller.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
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); |
