Are you looking at the right code? I see this from Qt5.4 source (qtbase/src/gui/kernel/qwindowsysteminterface.h)
static void handleWheelEvent(QWindow *w, const QPointF & local, const QPointF & global, QPoint pixelDelta, QPoint angleDelta, Qt::KeyboardModifiers mods = Qt::NoModifier, Qt::ScrollPhase phase = Qt::ScrollUpdate); static void handleWheelEvent(QWindow *w, ulong timestamp, const QPointF & local, const QPointF & global, QPoint pixelDelta, QPoint angleDelta, Qt::KeyboardModifiers mods = Qt::NoModifier, Qt::ScrollPhase phase = Qt::ScrollUpdate);
Scroll units are floats. The line you're quoting is a QtMir internal thing, which we mistakenly used ints for.
Are you looking at the right code? I see this from Qt5.4 source (qtbase/ src/gui/ kernel/ qwindowsystemin terface. h)
static void handleWheelEven t(QWindow *w, const QPointF & local, const QPointF & global, QPoint pixelDelta, QPoint angleDelta, Qt::KeyboardMod ifiers mods = Qt::NoModifier, Qt::ScrollPhase phase = Qt::ScrollUpdate); t(QWindow *w, ulong timestamp, const QPointF & local, const QPointF & global, QPoint pixelDelta, QPoint angleDelta, Qt::KeyboardMod ifiers mods = Qt::NoModifier, Qt::ScrollPhase phase = Qt::ScrollUpdate);
static void handleWheelEven
Scroll units are floats. The line you're quoting is a QtMir internal thing, which we mistakenly used ints for.