diff options
| author | Peter Penz <[email protected]> | 2009-09-11 19:50:40 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-09-11 19:50:40 +0000 |
| commit | fda626e07459cbd6901cbeb51da1058d0d4b3f8c (patch) | |
| tree | b2ee3f7ae02b098829173af7cbd85fe07cbf25e4 /src/dolphiniconsview.cpp | |
| parent | e725c334fb9f3da9e261f1701b21c73585bdb1e9 (diff) | |
Fixed minor regression introduced with the column view refactoring: When switching the view mode in a folder showing previews, the previews get lost after switching.
The KFilePreviewGenerator initialized in the ViewExtensionsFactory wants a valid icon size to accept previews. Fixed + Q_ASSERT added to prevent such a mistake in future.
svn path=/trunk/KDE/kdebase/apps/; revision=1022453
Diffstat (limited to 'src/dolphiniconsview.cpp')
| -rw-r--r-- | src/dolphiniconsview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphiniconsview.cpp b/src/dolphiniconsview.cpp index 50a08f4ed..bd070ad1c 100644 --- a/src/dolphiniconsview.cpp +++ b/src/dolphiniconsview.cpp @@ -120,8 +120,8 @@ DolphinIconsView::DolphinIconsView(QWidget* parent, connect(KGlobalSettings::self(), SIGNAL(settingsChanged(int)), this, SLOT(slotGlobalSettingsChanged(int))); - m_extensionsFactory = new ViewExtensionsFactory(this, controller); updateGridSize(view->showPreview(), 0); + m_extensionsFactory = new ViewExtensionsFactory(this, controller); } DolphinIconsView::~DolphinIconsView() |
