aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator/qml/qmlpuppet/commands/inputeventcommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'share/qtcreator/qml/qmlpuppet/commands/inputeventcommand.cpp')
-rw-r--r--share/qtcreator/qml/qmlpuppet/commands/inputeventcommand.cpp4
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();