summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/snippets/tooltips/main.cpp
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2023-10-15 13:56:26 +0200
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2023-10-26 23:03:45 +0200
commit23370ace68a3e48ba14e9de7881a6c160cc98619 (patch)
treedfeb2a16f3cc379e02b640834dde6f76ef46cc88 /src/widgets/doc/snippets/tooltips/main.cpp
parenta553d00179fea6d5ee54444c7dc533e4722c76dd (diff)
QCommonStyle: cleanup standardIcon()/standardPixmap() [1/2]
Factor out the four code paths for standardIcon() (windows, mac, application and resource theme) and use those functions also for standardPixmap() so the returned pixmap is correctly scaled with the current devicePixelRatio. Part1: Add QStyle:: scope to switch statements Task-number: QTBUG-118122 Change-Id: I39c01612c23a0da61c256c682642ae4e75ed8c43 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/tooltips/main.cpp')
0 files changed, 0 insertions, 0 deletions