RESOLVED FIXED 60649
[Qt] Extract code to set mouse event modifiers into common function
https://bugs.webkit.org/show_bug.cgi?id=60649
Summary [Qt] Extract code to set mouse event modifiers into common function
Daniel Bates
Reported 2011-05-11 13:00:28 PDT
Both PlatformMouseEvent(QInputEvent*, int clickCount) and PlatformMouseEvent(QGraphicsSceneMouseEvent*, int clickCount) contain identical code to set the state of the keyboard modifiers for a mouse event. Instead, we should extract this code into a common function, say mouseEventModifiersFromQtKeyboardModifiers() so as to remove duplicate code.
Attachments
Patch (2.83 KB, patch)
2011-05-11 13:11 PDT, Daniel Bates
no flags
Daniel Bates
Comment 1 2011-05-11 13:11:07 PDT
Daniel Bates
Comment 2 2011-05-11 14:35:54 PDT
Comment on attachment 93163 [details] Patch Clearing flags on attachment: 93163 Committed r86273: <http://trac.webkit.org/changeset/86273>
Daniel Bates
Comment 3 2011-05-11 14:36:00 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.