From 040bdcea237e2576aad744bc4e7b5cadedcc98dc Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 13 Nov 2008 20:39:53 +0000 Subject: [PATCH] when changing the view mode if the preview is turned on, the directory must get reloaded so that the KFilePreviewGenerator can update the previews svn path=/trunk/KDE/kdebase/apps/; revision=883921 --- src/dolphinview.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index 5ef00d60a..aec798d31 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -222,7 +222,11 @@ void DolphinView::setMode(Mode mode) } emit modeChanged(); + updateZoomLevel(oldZoomLevel); + if (m_showPreview) { + loadDirectory(viewPropsUrl); + } } DolphinView::Mode DolphinView::mode() const -- 2.47.3