summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qopenglwindow.cpp
diff options
context:
space:
mode:
authorJochen Seemann <seeman.jochen@gmail.com>2014-07-25 16:03:18 +0300
committerAndrew Knight <andrew.knight@digia.com>2014-08-05 16:43:52 +0200
commitfcb8dc0cb92f9cf689bfae4d5fff55d63ca4accb (patch)
treea47097d8187e960a6fbdada041b6ee9829c9b9a2 /src/gui/kernel/qopenglwindow.cpp
parent42f681ea8db8330c1992fc85669206efab5ab562 (diff)
WinRT: Fix physical size of screen
Currently, the physical size of the screen is calculated with the logicalSize and the logicalDpi of the screen. This doesn't work because logicalDpi has a user-defined multiplier and a strange value. The easiest and accuratest way is to take the raw dpi of the axis and the raw pixel size (logicalSize*scaleFactor). This all is needed for a correct value of Screen.pixelDensity in QtQuick. Change-Id: I8be0139d762364140043c3fa0d203298ca7ef293 Reviewed-by: Jochen Seemann <seemann.jochen@gmail.com> Reviewed-by: Andrew Knight <andrew.knight@digia.com>
Diffstat (limited to 'src/gui/kernel/qopenglwindow.cpp')
0 files changed, 0 insertions, 0 deletions