[Development] Source incompatible Qt 5 change: Removing the QTouchEvent::TouchPoint::Primary flag
samuel.rodal at nokia.com
Thu Jan 12 14:26:41 CET 2012
I'd like to remove the QTouchEvent::TouchPoint::Primary flag, as per
change request http://codereview.qt-project.org/#change,12928
The current purpose of the flag is simply to note that a touch point is
duplicated as a mouse event by the windowing system (to prevent Qt from
also generating a synthesized mouse event from that touch event). The
linked change moves this duplication logic out of the windowing system
interface (platform plugins, generic plugins, etc), and into QtGui.
If we kept it as always returning false it could mask incorrect behavior
in the user application.
More information about the Development