on xenial help sign in
DirectionalDragArea: Update TODO comment in light of new events
commit2a3db18b3fbb918864c7bbd57220a83485ffc2a0 authorDaniel d'Andrada <daniel.dandrada@canonical.com> dateFri 31 Oct 2014, 10:38 (12 years ago) parentf830686
1 file changed+3−1
plugins/Ubuntu/Gestures/DirectionalDragArea.cpp+3−1
plugins/Ubuntu/Gestures/DirectionalDragArea.cpp+3−1
@@ -259,7 +259,9 @@ void DirectionalDragArea::touchOwnershipEvent(TouchOwnershipEvent *event)
259259 // Work around for Qt bug. If we grab a touch that is being used for mouse pointer
260260 // emulation it will cause the emulation logic to go nuts.
261261 // 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
263265 if (window()) {
264266 QQuickWindowPrivate *windowPrivate = QQuickWindowPrivate::get(window());
265267 if (windowPrivate->touchMouseId == event->touchId() && window()->mouseGrabberItem()) {