diff options
| author | Nathaniel Graham <[email protected]> | 2018-04-19 19:01:01 -0600 |
|---|---|---|
| committer | Nathaniel Graham <[email protected]> | 2018-04-19 19:01:01 -0600 |
| commit | e8d8a8c35bb413eb9b3d92733563bc177c505975 (patch) | |
| tree | 2ffecffe5e2929ec0dbf00242bb7ce315934ae6c | |
| parent | ec12391a1bb89a395a9f46a548154782664d0835 (diff) | |
| parent | e15d9f266b662cdbed1a9f07b9686fd79a31d929 (diff) | |
Merge branch 'Applications/18.04'
| -rw-r--r-- | src/views/dolphinitemlistview.cpp | 8 |
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; } |
