┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphiniconsview.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-01-26 12:48:03 +0000
committerPeter Penz <[email protected]>2008-01-26 12:48:03 +0000
commit453131d6e8a59af87e943455e26074ce8e3ddae3 (patch)
tree4047f181227f5599b02d266be4524c53409e81b3 /src/dolphiniconsview.cpp
parent22fcc2c4c5c337a2d0ba387f1d6ac5d38428cd2f (diff)
* 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
Diffstat (limited to 'src/dolphiniconsview.cpp')
-rw-r--r--src/dolphiniconsview.cpp1
1 files changed, 1 insertions, 0 deletions
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;