aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick2/qquickscreen/data/screen.qml
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2012-01-24 10:04:45 +0100
committerQt by Nokia <qt-info@nokia.com>2012-01-24 21:01:53 +0100
commitd2d53dffbc3ba52333e559e2c0391bd73e5b840c (patch)
treef156da156fe9d715e58ac5d8cc5e5cecfbb46a0a /tests/auto/qtquick2/qquickscreen/data/screen.qml
parent40bbc9503b988412202836bc4d10a0a9f645a940 (diff)
Adapted QQuickScreenAttached to orientation API changes in QScreen.
Change-Id: Ic2cb008b989780e297f03ddd5bdef466bb230c74 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'tests/auto/qtquick2/qquickscreen/data/screen.qml')
-rw-r--r--tests/auto/qtquick2/qquickscreen/data/screen.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qtquick2/qquickscreen/data/screen.qml b/tests/auto/qtquick2/qquickscreen/data/screen.qml
index 971975f892..780b22f23d 100644
--- a/tests/auto/qtquick2/qquickscreen/data/screen.qml
+++ b/tests/auto/qtquick2/qquickscreen/data/screen.qml
@@ -6,6 +6,6 @@ Item {
height: 100
property int w: Window.Screen.width
property int h: Window.Screen.height
- property int curOrientation: Window.Screen.currentOrientation
+ property int curOrientation: Window.Screen.orientation
property int priOrientation: Window.Screen.primaryOrientation
}