diff options
author | Shawn Rutledge <shawn.rutledge@digia.com> | 2014-10-17 14:24:07 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@digia.com> | 2014-10-23 09:03:16 +0200 |
commit | e2764c722571025835e41632637d1421ba44fb02 (patch) | |
tree | fcbe4624419e0332ba0330aa6402123c39f03523 /tests/auto/quick/qquickscreen/data | |
parent | a1b43cb272ff05bd8c681d4d6320dcfee7339d84 (diff) |
Screen attached property: expose devicePixelRatio property
Change-Id: I08b22766b3e389b7d27ca4c56729f550b0647a08
Reviewed-by: Jens Bache-Wiig <jensbw@gmail.com>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Diffstat (limited to 'tests/auto/quick/qquickscreen/data')
-rw-r--r-- | tests/auto/quick/qquickscreen/data/screen.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickscreen/data/screen.qml b/tests/auto/quick/qquickscreen/data/screen.qml index dc3803f4e3..c246b3cd83 100644 --- a/tests/auto/quick/qquickscreen/data/screen.qml +++ b/tests/auto/quick/qquickscreen/data/screen.qml @@ -9,6 +9,7 @@ Item { property int curOrientation: Window.Screen.orientation property int priOrientation: Window.Screen.primaryOrientation property int updateMask: Window.Screen.orientationUpdateMask + property real devicePixelRatio: Window.Screen.devicePixelRatio Window.Screen.orientationUpdateMask: Qt.LandscapeOrientation | Qt.InvertedLandscapeOrientation } |