summaryrefslogtreecommitdiffstats
path: root/src/tools/uic/cpp/cppwriteinitialization.cpp
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2024-12-24 14:16:00 +0100
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2024-12-29 18:03:37 +0100
commit785fb89e0aafc25a435d28ff05bf0dc05385b372 (patch)
tree2f634febae1d13db3749992dd9f3a51df0ca84a9 /src/tools/uic/cpp/cppwriteinitialization.cpp
parentaa1f2064801b39a26a718703817e197a3e31447e (diff)
QCommandLinkButton: fix drawing high-dpi icons
QCommandLinkButton was using QIcon::pixmap() without specifying the current device pixel ratio. Switch to QIcon::paint() to not have to fiddle around with the dpr at all here. As a drive-by remove a useless QPainter::save/restore call. Pick-to: 6.9 6.8 Change-Id: I7e2492a09b28cb8a4f4cc60454733e0054fe1e9b Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/tools/uic/cpp/cppwriteinitialization.cpp')
0 files changed, 0 insertions, 0 deletions