aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickwindow/data
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2017-02-08 16:25:12 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2017-02-11 12:12:38 +0000
commitf145f33d529c2b59ace7a3cdfd5463e68787f40b (patch)
treee52efc0d5750e84bbf68d7501bba94c726cec673 /tests/auto/quick/qquickwindow/data
parent705a2780743a01cb9a1032fca8c1f942b50e5a0a (diff)
Rename Window.targetScreen to screen, and pick up changes to the screen
The screen property can be used for both setting the initital screen, and for reading out the current screen, so 'targetScreen' was not an ideal name for this property. Change-Id: I1b617085b1e8e0e437355740be5d3cee9379c47f Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tests/auto/quick/qquickwindow/data')
-rw-r--r--tests/auto/quick/qquickwindow/data/windowWithScreen.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/quick/qquickwindow/data/windowWithScreen.qml b/tests/auto/quick/qquickwindow/data/windowWithScreen.qml
index fdc0be3388..2a5a7b7b76 100644
--- a/tests/auto/quick/qquickwindow/data/windowWithScreen.qml
+++ b/tests/auto/quick/qquickwindow/data/windowWithScreen.qml
@@ -3,7 +3,7 @@ import QtQuick.Window 2.3 as Window
Window.Window {
color: "#00FF00"
- targetScreen: Qt.application.screens[0]
+ screen: Qt.application.screens[0]
Item {
objectName: "item"
}