aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@digia.com>2013-02-26 13:35:46 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-26 15:13:54 +0100
commit98e00abc19ad46072f7c8303e50f9748d36a925e (patch)
tree7ff3c192f838febcc211c7b80b1dd926edf9dd9e /tests/auto
parentf289fdc53e85bf0f2002070fa883f5c01bae1232 (diff)
Change Canvas to use Image and antialiasing by default.
Change-Id: I3033cba7c2f9e1dd9886e8f92ece1a2f43f60c01 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/quick/qquickcanvasitem/data/CanvasComponent.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/quick/qquickcanvasitem/data/CanvasComponent.qml b/tests/auto/quick/qquickcanvasitem/data/CanvasComponent.qml
index b9e8d75f5a..000888a36f 100644
--- a/tests/auto/quick/qquickcanvasitem/data/CanvasComponent.qml
+++ b/tests/auto/quick/qquickcanvasitem/data/CanvasComponent.qml
@@ -5,6 +5,7 @@ Component {
id:canvas
Canvas {
id:c
+ antialiasing: false;
width:100;height:100
onPaint :{} //this line is needed for some tests (make sure onPaint handler always called
property alias paintCount:spyPaint.count
@@ -27,4 +28,4 @@ Component {
SignalSpy {id: spyImageLoaded;target:c;signalName: "imageLoaded"}
SignalSpy {id: spyAvailableChanged;target:c;signalName: "availableChanged"}
}
-} \ No newline at end of file
+}