From 699d1b974c307c13f16834ad60041b228a7cb684 Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Mon, 2 Mar 2020 11:04:20 +0100 Subject: [PATCH] QmlPuppet: Initialize InputEventType Change-Id: Ic0871aff4658a388f803a90abd722f34a522c68c Reviewed-by: Tim Jenssen --- share/qtcreator/qml/qmlpuppet/commands/inputeventcommand.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;