@@ -259,7 +259,9 @@ void DirectionalDragArea::touchOwnershipEvent(TouchOwnershipEvent *event)
259 // Work around for Qt bug. If we grab a touch that is being used for mouse pointer
259 // Work around for Qt bug. If we grab a touch that is being used for mouse pointer
260 // emulation it will cause the emulation logic to go nuts.
260 // emulation it will cause the emulation logic to go nuts.
261 // Thus we have to also grab the mouse in this case.
261 // Thus we have to also grab the mouse in this case.
262− // TODO: Report bug to Qt
262+ //
263+ // The fix for this bug has landed in Qt 5.4 (https://codereview.qt-project.org/96887)
264+ // TODO: Remove this workaround once we start using Qt 5.4
263 if (window()) {
265 if (window()) {
264 QQuickWindowPrivate *windowPrivate = QQuickWindowPrivate::get(window());
266 QQuickWindowPrivate *windowPrivate = QQuickWindowPrivate::get(window());
265 if (windowPrivate->touchMouseId == event->touchId() && window()->mouseGrabberItem()) {
267 if (windowPrivate->touchMouseId == event->touchId() && window()->mouseGrabberItem()) {