Otherwise every single app will assert in ~QEvent when
QML_TRANSLATE_TOUCH_TO_MOUSE is enabled.
Change-Id: Ib0590a980cb00b913ec096bcdfba57fffaa19eb1
Reviewed-by: Shawn Rutledge <shawn.rutledge@nokia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
}
}
+ ~QQuickMouseEventEx()
+ {
+ d = 0;
+ }
+
static const QQuickMouseEventEx *extended(const QMouseEvent *e) {
const QQuickMouseEventEx *ex = static_cast<const QQuickMouseEventEx*>(e);
return reinterpret_cast<const QMouseEvent*>(ex->d) == e ? ex : 0;