From 453131d6e8a59af87e943455e26074ce8e3ddae3 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 26 Jan 2008 12:48:03 +0000 Subject: * increase the performance of item previews: each item view provides an icon size hint -> the preview and item effects are only applied to the current size, not to the maximum of 128 x 128 pixels * make the icons of hidden files semitransparent like in KDE3 svn path=/trunk/KDE/kdebase/apps/; revision=766659 --- src/dolphiniconsview.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/dolphiniconsview.cpp') diff --git a/src/dolphiniconsview.cpp b/src/dolphiniconsview.cpp index 8f5992219..c867ce611 100644 --- a/src/dolphiniconsview.cpp +++ b/src/dolphiniconsview.cpp @@ -451,6 +451,7 @@ void DolphinIconsView::updateGridSize(bool showPreview, int additionalInfoCount) size = previewSize; } + setIconSize(QSize(size, size)); Q_ASSERT(additionalInfoCount >= 0); itemHeight += additionalInfoCount * m_font.pointSize() * 2; -- cgit v1.3