Widgets: Fix high dpi hover icon

Amends aa5a595a98.

Pick-to: 6.4
Change-Id: I4ba7744e70d7d9de2d0b562a67b3828a72940306
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Christian Stenger 2022-11-15 15:50:44 +01:00 committed by Volker Hilsheimer
parent 1fee7adccf
commit 84cc3b3cad

View File

@ -6397,7 +6397,7 @@ QIcon QCommonStyle::standardIcon(StandardPixmap standardIcon, const QStyleOption
QIcon::Normal, QIcon::On); QIcon::Normal, QIcon::On);
icon.addFile(iconResourcePrefix() + u"standardbutton-closetab-hover-16.png", QSize(16, 16), icon.addFile(iconResourcePrefix() + u"standardbutton-closetab-hover-16.png", QSize(16, 16),
QIcon::Active, QIcon::Off); QIcon::Active, QIcon::Off);
icon.addFile(iconResourcePrefix() + u"standardbutton-closetab-hover-16.png", QSize(32, 32), icon.addFile(iconResourcePrefix() + u"standardbutton-closetab-hover-32.png", QSize(32, 32),
QIcon::Active, QIcon::Off); QIcon::Active, QIcon::Off);
break; break;
default: default: