aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/declarative/painteditem/main.cpp5
-rw-r--r--examples/declarative/particles/allsmiles/smilefactory.qml1
2 files changed, 6 insertions, 0 deletions
diff --git a/examples/declarative/painteditem/main.cpp b/examples/declarative/painteditem/main.cpp
index 1308325ca3..10bd4302c9 100644
--- a/examples/declarative/painteditem/main.cpp
+++ b/examples/declarative/painteditem/main.cpp
@@ -47,6 +47,11 @@ class MyPaintItem : public QSGPaintedItem
{
Q_OBJECT
public:
+ MyPaintItem() : QSGPaintedItem()
+ {
+ setAntialiasing(true);
+ }
+
virtual void paint(QPainter *p)
{
QRectF rect(0, 0, width(), height());
diff --git a/examples/declarative/particles/allsmiles/smilefactory.qml b/examples/declarative/particles/allsmiles/smilefactory.qml
index 1b43adb1da..47becb50fe 100644
--- a/examples/declarative/particles/allsmiles/smilefactory.qml
+++ b/examples/declarative/particles/allsmiles/smilefactory.qml
@@ -51,6 +51,7 @@ Rectangle{
particles: ["goingLeft", "goingRight"]
image: "content/singlesmile.png"
rotation: 90
+ rotationSpeed: 90
autoRotation: true
}
DeformableParticle{