diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2012-07-18 13:53:40 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-28 01:51:19 +0200 |
commit | 3912bbaceab166eb116447311eb16453e4f26edf (patch) | |
tree | b44561b4fbded41d7011e79c3d9a5411a1de438c /examples/particles/itemparticle/particleview.qml | |
parent | c2f2ae8ce90e621cc3835428c40c116fbdc593e6 (diff) |
Update usage of smooth and antialiasing.
Change-Id: Icc8b28bdd466389ed3f269f076f1bdb6e9abe3f2
Reviewed-by: Yunqiao Yin <charles.yin@nokia.com>
Reviewed-by: Bea Lam <bea.lam@nokia.com>
Diffstat (limited to 'examples/particles/itemparticle/particleview.qml')
-rw-r--r-- | examples/particles/itemparticle/particleview.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/particles/itemparticle/particleview.qml b/examples/particles/itemparticle/particleview.qml index 1679c01337..94b7899ca0 100644 --- a/examples/particles/itemparticle/particleview.qml +++ b/examples/particles/itemparticle/particleview.qml @@ -200,6 +200,7 @@ Item { Rectangle { id: container border.width: 2 + antialiasing: true property real myRand: Math.random();//'depth' z: Math.floor(myRand * 100) scale: (myRand + 1.0)/2; @@ -221,7 +222,8 @@ Item { Image { id: img anchors.centerIn: parent - smooth: true; source: "http://" + Script.getImagePath(content); cache: true + antialiasing: true; + source: "http://" + Script.getImagePath(content); cache: true fillMode: Image.PreserveAspectFit; width: parent.width-4; height: parent.height-4 onStatusChanged: if (img.status == Image.Ready) { |