summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorThomas Zander <thomas.zander@trolltech.com>2009-10-15 13:06:55 +0200
committerThomas Zander <thomas.zander@trolltech.com>2009-11-16 14:41:44 +0100
commit040994514e6f51061b93ea951e0ae2d3b2d97526 (patch)
treec3bfe2f0526b631f8cbb6724ff7b408cc9eac356 /demos
parent116af8e05ffae348c8236f02bcc9b642f156d3e8 (diff)
Properly initialize all vars.
This fixes a valgrind warning.
Diffstat (limited to 'demos')
-rw-r--r--demos/qtdemo/itemcircleanimation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/qtdemo/itemcircleanimation.cpp b/demos/qtdemo/itemcircleanimation.cpp
index 8c94eb7c0a..74c3e6acc6 100644
--- a/demos/qtdemo/itemcircleanimation.cpp
+++ b/demos/qtdemo/itemcircleanimation.cpp
@@ -302,6 +302,7 @@ void ItemCircleAnimation::setupGuides()
int y = 20;
this->qtGuide1 = new GuideCircle(QRectF(x, y, 260, 260), -36, 342);
+ this->currGuide = 0;
new GuideLine(QPointF(x + 240, y + 268), this->qtGuide1);
new GuideLine(QPointF(x + 265, y + 246), this->qtGuide1);
new GuideLine(QPointF(x + 158, y + 134), this->qtGuide1);