diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2020-04-21 10:54:32 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2020-04-22 21:21:06 +0000 |
commit | 162ea716e668429a7bd9307d032446cfd856c3ae (patch) | |
tree | 106b0084ec9900dc6203df182b7d95b465d8888c /share/qtcreator/qml/qmlpuppet/commands | |
parent | 4c3bdd1f6776b7f02f6a3abca0e2e225fd951b34 (diff) |
Match use of int in operator>>
Change-Id: I9709abb1c3734e10a7defffd1607e743f6d662e2
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'share/qtcreator/qml/qmlpuppet/commands')
-rw-r--r-- | share/qtcreator/qml/qmlpuppet/commands/inputeventcommand.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/qtcreator/qml/qmlpuppet/commands/inputeventcommand.cpp b/share/qtcreator/qml/qmlpuppet/commands/inputeventcommand.cpp index 73a68b0620..4eb4f3380a 100644 --- a/share/qtcreator/qml/qmlpuppet/commands/inputeventcommand.cpp +++ b/share/qtcreator/qml/qmlpuppet/commands/inputeventcommand.cpp @@ -55,9 +55,9 @@ InputEventCommand::InputEventCommand(QInputEvent *e) QDataStream &operator<<(QDataStream &out, const InputEventCommand &command) { - out << command.type(); + out << int(command.type()); out << command.pos(); - out << command.button(); + out << int(command.button()); out << command.buttons(); out << command.modifiers(); out << command.angleDelta(); |