summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/platforms/cocoa/qnsview_mouse.mm1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/platforms/cocoa/qnsview_mouse.mm b/src/plugins/platforms/cocoa/qnsview_mouse.mm
index a1f3a9e31e9..572f953121b 100644
--- a/src/plugins/platforms/cocoa/qnsview_mouse.mm
+++ b/src/plugins/platforms/cocoa/qnsview_mouse.mm
@@ -703,7 +703,6 @@ static const QPointingDevice *pointingDeviceFor(qint64 deviceID)
m_scrolling = false;
}
} else if (theEvent.momentumPhase == NSEventPhaseBegan) {
- Q_ASSERT(!pixelDelta.isNull() && !angleDelta.isNull());
// If we missed finding a momentum NSEventPhaseBegan when the non-momentum
// phase ended we need to treat this as a scroll begin, to not confuse client
// code. Otherwise we treat it as a continuation of the existing scroll.