Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
diff --git a/src/kitemviews/kstandarditemlistwidget.cpp b/src/kitemviews/kstandarditemlistwidget.cpp
index 621587bf6..b730082e0 100644
--- a/src/kitemviews/kstandarditemlistwidget.cpp
+++ b/src/kitemviews/kstandarditemlistwidget.cpp
@@ -575,11 +575,11 @@ QRectF KStandardItemListWidget::selectionToggleRect() const
toggleSize = widgetHeight;
pos.setY(0);
}
- if (toggleSize + minMargin * 2 >= widgetWidth) {
+ // if (toggleSize + minMargin * 2 >= widgetWidth) {
pos.ry() -= (widgetWidth - toggleSize) / 2;
toggleSize = widgetWidth;
pos.setX(0);
- }
+ // }
return QRectF(pos, QSizeF(toggleSize, toggleSize));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.