Last active
February 22, 2019 16:14
-
-
Save Zren/57bb3559ec476e9d8c3712dd6f4bf60b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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