aboutsummaryrefslogtreecommitdiffstats
path: root/examples/declarative/canvas/quadraticCurveTo/quadraticCurveTo.qml
diff options
context:
space:
mode:
authorCharles Yin <charles.yin@nokia.com>2011-09-16 11:55:01 +1000
committerQt by Nokia <qt-info@nokia.com>2011-09-16 03:56:35 +0200
commit3277b6f803b0f82c72ca2dc26a90cafb18067971 (patch)
treedef2a7bcdfa08170accf939ce80e136fd1875237 /examples/declarative/canvas/quadraticCurveTo/quadraticCurveTo.qml
parent23966bf69eb97314b1af232efa05fb3376275b0e (diff)
rename threadRendering to renderInThread
Change-Id: I21d2492288adc84d3ef99633752e78a3ea232a4a Reviewed-on: http://codereview.qt-project.org/5042 Reviewed-by: Charles Yin <charles.yin@nokia.com>
Diffstat (limited to 'examples/declarative/canvas/quadraticCurveTo/quadraticCurveTo.qml')
-rw-r--r--examples/declarative/canvas/quadraticCurveTo/quadraticCurveTo.qml5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/declarative/canvas/quadraticCurveTo/quadraticCurveTo.qml b/examples/declarative/canvas/quadraticCurveTo/quadraticCurveTo.qml
index 76b09d8e41..00d9e9d2dc 100644
--- a/examples/declarative/canvas/quadraticCurveTo/quadraticCurveTo.qml
+++ b/examples/declarative/canvas/quadraticCurveTo/quadraticCurveTo.qml
@@ -65,7 +65,7 @@ Item {
property real rotate : rotateCtrl.value
smooth:true
renderTarget:Canvas.Image
- threadRendering:false
+ renderInThread:false
onLineWidthChanged:requestPaint();
onFillChanged:requestPaint();
@@ -106,8 +106,7 @@ Item {
ctx.fillStyle="green";
ctx.font = "Bold 15px";
- // ctx.fillText("QML酷毙了", 30, 60); //BUG(in Linux):can't show multiple Chinese characters correctly.
- ctx.fillText("QML酷 毙 了 !", 35, 65);
+ ctx.fillText("QML酷毙了", 30, 60);
}
}