diff options
| author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2024-12-13 16:54:02 +0100 |
|---|---|---|
| committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2024-12-16 21:13:17 +0100 |
| commit | d884abaf8bdc1be74ee52306948c0be1986d738d (patch) | |
| tree | 301679d54075a2fafa20cf1f1da4eb6b91370397 /tests/auto/sql/models/qsqlquerymodel/tst_qsqlquerymodel.cpp | |
| parent | 66d42b62b6f01205cf1db72e56ecb5166554e373 (diff) | |
Document that QPlatformTheme::standardPixmap should always be a 1x pixmap
This reverts 59bbfb17db563d7e62b9f3158dab3cc6e7e68acd and
c853054910552f5fef04797222dde0d29a0c340d, as that approach
was causing issues for QCommonStyle::iconFromWindowsTheme,
for example in situations where the system has a 1x and 2.5x
screen, and the user requests a 16x16 pixmap or icon via
QStyle::standardPixmap or QStyle::standardIcon. In that
situation our smallest pixmap is 40x40, and we need to
downscale, causing blurred results on a 1x screen.
Pick-to: 6.9
Change-Id: Ifa6e15d37d15954df689253c32eaa779885c567b
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/auto/sql/models/qsqlquerymodel/tst_qsqlquerymodel.cpp')
0 files changed, 0 insertions, 0 deletions
