┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-11-13 20:39:53 +0000
committerPeter Penz <[email protected]>2008-11-13 20:39:53 +0000
commit040bdcea237e2576aad744bc4e7b5cadedcc98dc (patch)
treeadb413774a03bcfc33f4e5e3017e5bcc5ebba628
parent4e8e54e6dbfe507b6513b10f383d8aab42460a64 (diff)
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
-rw-r--r--src/dolphinview.cpp4
1 files changed, 4 insertions, 0 deletions
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