┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/views/dolphinitemlistview.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/views/dolphinitemlistview.cpp b/src/views/dolphinitemlistview.cpp
index 0655b3308..4651d1068 100644
--- a/src/views/dolphinitemlistview.cpp
+++ b/src/views/dolphinitemlistview.cpp
@@ -179,14 +179,6 @@ void DolphinItemListView::updateGridSize()
const int minItemWidth = 48;
itemWidth = minItemWidth + IconsModeSettings::textWidthIndex() * 64;
- if (previewsShown()) {
- // Optimize the width for previews with a 3:2 aspect ratio instead
- // of a 1:1 ratio to avoid wasting too much vertical space when
- // showing photos.
- const int minWidth = iconSize * 3 / 2;
- itemWidth = qMax(itemWidth, minWidth);
- }
-
if (itemWidth < iconSize + padding * 2) {
itemWidth = iconSize + padding * 2;
}