diff --git a/share/qtcreator/qml/qmlpuppet/commands/inputeventcommand.h b/share/qtcreator/qml/qmlpuppet/commands/inputeventcommand.h index 2d77cab6dd5..fc484380a1e 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;