Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
5.15.12, 6.4.0
-
None
Description
When Qt uses Freedesktop icon theme, SP_DialogCloseButton maps to different icons depending on what method is called.
When standardIcon() is called, "window-close" icon is used: https://github.com/qt/qtbase/blob/394b4c9e4994a9bdde89bd09eb0f663da44e0048/src/widgets/styles/qcommonstyle.cpp#L5979
When standardPixmap() is called, "dialog-close" icon is used: https://github.com/qt/qtbase/blob/394b4c9e4994a9bdde89bd09eb0f663da44e0048/src/widgets/styles/qcommonstyle.cpp#L5493
BTW it looks like standardPixmap() is correct here.
Attachments
Issue Links
- relates to
-
QTBUG-118122 QCommonStyle::standardIcon/Pixmap does not use the correct icons for high-dpi
-
- Closed
-