]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Fix my previous bad merge
authorFelix Ernst <fe.a.ernst@gmail.com>
Sat, 29 Jan 2022 17:47:40 +0000 (18:47 +0100)
committerFelix Ernst <fe.a.ernst@gmail.com>
Sat, 29 Jan 2022 17:47:40 +0000 (18:47 +0100)
I failed to notice that the changes didn't apply cleanly. With this
commit everything should be a-okay again.

src/kitemviews/kstandarditemlistwidget.cpp

index 04d8e0f7e2f166e5d71e69d642bb8163155842b3..668382cd519f15a2ba6504ea27d381dcfc049164 100644 (file)
@@ -230,7 +230,7 @@ void KStandardItemListWidgetInformant::calculateDetailsLayoutItemSizeHints(QVect
 {
     const KItemListStyleOption& option = view->styleOption();
     const qreal height = option.padding * 2 + qMax(option.iconSize, option.fontMetrics.height());
-    logicalHeightHints.fill(height);
+    logicalHeightHints.fill(std::make_pair(height, false));
     logicalWidthHint = -1.0;
 }