┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNathaniel Graham <[email protected]>2018-04-19 19:01:01 -0600
committerNathaniel Graham <[email protected]>2018-04-19 19:01:01 -0600
commite8d8a8c35bb413eb9b3d92733563bc177c505975 (patch)
tree2ffecffe5e2929ec0dbf00242bb7ce315934ae6c /src
parentec12391a1bb89a395a9f46a548154782664d0835 (diff)
parente15d9f266b662cdbed1a9f07b9686fd79a31d929 (diff)
Merge branch 'Applications/18.04'
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;
}