Update qml test scenes with new property names
authoraavit <eirik.aavitsland@digia.com>
Mon, 29 Oct 2012 11:14:55 +0000 (12:14 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 29 Oct 2012 12:45:18 +0000 (13:45 +0100)
Change-Id: I67953f257f8948f3ec821cf3e5bc4763aff8d1aa
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
tests/manual/scenegraph_lancelot/data/rectangles/test-rectangles.qml
tests/manual/scenegraph_lancelot/data/shaders/culling/culling_1.qml
tests/manual/scenegraph_lancelot/data/shaders/culling/culling_2.qml

index b2dcf4e..0eb0a37 100644 (file)
@@ -42,7 +42,7 @@ Rectangle {
                             anchors.fill: parent
                             anchors.margins: 10
                             radius: index * 20
-                            border.aligned: local._index == 1
+                            border.pixelAligned: local._index == 1
                             border.width: local._index == 0 ? 0 : 0.5
                             opacity: 0.5
                             color: "steelBlue"
@@ -58,7 +58,7 @@ Rectangle {
                             anchors.fill: parent
                             anchors.margins: 10
                             radius: index * 20
-                            border.aligned: local._index == 1
+                            border.pixelAligned: local._index == 1
                             border.width: local._index == 0 ? 0 : 0.5
                             opacity: 0.5
                             gradient: Gradient {
index 4768791..76ce60f 100644 (file)
@@ -69,7 +69,7 @@ Rectangle {
                     anchors.margins: 10
                     width: 200
                     height: 100
-                    culling: model.bar
+                    cullMode: model.bar
                     property variant frontSource: front
                     property variant backSource: back
                     fragmentShader: "
index a6fcc26..45f20dd 100644 (file)
@@ -69,7 +69,7 @@ Rectangle {
                     anchors.margins: 10
                     width: 200
                     height: 100
-                    culling: model.bar
+                    cullMode: model.bar
                     property variant frontSource: front
                     property variant backSource: back
                     fragmentShader: "