diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2020-03-02 11:04:20 +0100 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@qt.io> | 2020-03-03 16:05:35 +0000 |
commit | 699d1b974c307c13f16834ad60041b228a7cb684 (patch) | |
tree | 4606cf59dc29f8cd1e11b93bd5ae9f0614889bd2 /share/qtcreator/qml/qmlpuppet/commands | |
parent | f78e7e3f6062ef8f9189494eb69fd71b1c9405e3 (diff) |
QmlPuppet: Initialize InputEventType
Change-Id: Ic0871aff4658a388f803a90abd722f34a522c68c
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'share/qtcreator/qml/qmlpuppet/commands')
-rw-r--r-- | share/qtcreator/qml/qmlpuppet/commands/inputeventcommand.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qtcreator/qml/qmlpuppet/commands/inputeventcommand.h b/share/qtcreator/qml/qmlpuppet/commands/inputeventcommand.h index 2d77cab6dd..fc484380a1 100644 --- a/share/qtcreator/qml/qmlpuppet/commands/inputeventcommand.h +++ b/share/qtcreator/qml/qmlpuppet/commands/inputeventcommand.h @@ -50,7 +50,7 @@ public: int angleDelta() const { return m_angleDelta; } private: - QEvent::Type m_type; + QEvent::Type m_type = QEvent::None; QPoint m_pos; Qt::MouseButton m_button = Qt::NoButton; Qt::MouseButtons m_buttons = Qt::NoButton; |