summaryrefslogtreecommitdiffstats
path: root/examples/widgets/touch/pinchzoom/mouse.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/touch/pinchzoom/mouse.h')
-rw-r--r--examples/widgets/touch/pinchzoom/mouse.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/widgets/touch/pinchzoom/mouse.h b/examples/widgets/touch/pinchzoom/mouse.h
index 870bfcd6c0..8ac110821e 100644
--- a/examples/widgets/touch/pinchzoom/mouse.h
+++ b/examples/widgets/touch/pinchzoom/mouse.h
@@ -70,9 +70,9 @@ protected:
void timerEvent(QTimerEvent *event) override;
private:
- qreal angle;
- qreal speed;
- qreal mouseEyeDirection;
+ qreal angle = 0;
+ qreal speed = 0;
+ qreal mouseEyeDirection = 0;
QColor color;
};
//! [0]