forked from qt-creator/qt-creator
Match use of int in operator>>
Change-Id: I9709abb1c3734e10a7defffd1607e743f6d662e2 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user