summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@digia.com>2015-02-04 10:58:06 +0100
committerShawn Rutledge <shawn.rutledge@digia.com>2015-02-04 14:41:36 +0000
commit315145ac95f45af32b86c16ef15cb7c0f08a5304 (patch)
tree2b815a9486bbc84b2f402c191713f77140dcc418 /src/plugins/platforms/xcb
parent1f4b84f69f13edd10300d035321623291c5d073e (diff)
D-Bus tray icons: get devicePixelRatio at runtime
In static builds of Qt, static initialization may not work because we need an initialized list of screens before devicePixelRatio() can use them to find the value. Anyway, it's better to know the dpr at the time the tray icon will be shown rather than when the application is started, just in case it changes. Change-Id: Iedffb674d8e8818c2a4e64d7c7a3c89a2dca77f3 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms/xcb')
0 files changed, 0 insertions, 0 deletions