diff options
| author | Peter Penz <[email protected]> | 2008-11-13 20:39:53 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-11-13 20:39:53 +0000 |
| commit | 040bdcea237e2576aad744bc4e7b5cadedcc98dc (patch) | |
| tree | adb413774a03bcfc33f4e5e3017e5bcc5ebba628 /src/dolphinview.cpp | |
| parent | 4e8e54e6dbfe507b6513b10f383d8aab42460a64 (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
Diffstat (limited to 'src/dolphinview.cpp')
| -rw-r--r-- | src/dolphinview.cpp | 4 |
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 |
