]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphincontroller.cpp
Simplify DolphinController: don't remember the show-preview state in the controller...
[dolphin.git] / src / dolphincontroller.cpp
index bdb97170b4e2c1c3567369f26131b1f181e5290a..897d4266bc8b2eca039b594c8818de735cba9f57 100644 (file)
@@ -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);