Ignore touch event from MacOS touchpad
MacOS touch pad sends a touch event when interacting with a QGraphicsView. This is unexpected, seeing as touch events are only supposed to be sent when Qt.WA_AcceptTouchEvents
is set on a widget, causing the touch event sent by the touch pad to behave weirdly. This, in turn causes Qt to display a warning message. This MR fixes the issue by clearing Qt.WA_AcceptTouchEvents
on all QGraphicsView instances.
For more information, refer to https://bugreports.qt.io/browse/QTBUG-103935.
Closes #6