Initialize m_pointCount in QQuickPointerTouchEvent

Change-Id: Id9d602a4312db3877e21e449fcd2bbb3b58e1ced
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
This commit is contained in:
Frederik Gladhorn 2016-07-25 15:20:03 +02:00 committed by Frederik Gladhorn
parent 34c555b554
commit 1de769c844
1 changed files with 1 additions and 1 deletions

View File

@ -404,7 +404,7 @@ class Q_QUICK_PRIVATE_EXPORT QQuickPointerTouchEvent : public QQuickPointerEvent
{
public:
QQuickPointerTouchEvent(QObject *parent = nullptr)
: QQuickPointerEvent(parent)
: QQuickPointerEvent(parent), m_pointCount(0)
{}
QQuickPointerEvent *reset(QEvent *) override;