on xenial help sign in
Add TODO comment on bug report
bd84176Daniel d'Andrada
plugins/Ubuntu/Gestures/DirectionalDragArea.cpp+1
@@ -258,6 +258,7 @@ void DirectionalDragArea::touchOwnershipEvent(TouchOwnershipEvent *event)
258 // Work around for Qt bug. If we grab a touch that is being used for mouse pointer
258 // Work around for Qt bug. If we grab a touch that is being used for mouse pointer
259 // emulation it will cause the emulation logic to go nuts.
259 // emulation it will cause the emulation logic to go nuts.
260 // Thus we have to also grab the mouse in this case.
260 // Thus we have to also grab the mouse in this case.
261+ // TODO: Report bug to Qt
261 if (window()) {
262 if (window()) {
262 QQuickWindowPrivate *windowPrivate = QQuickWindowPrivate::get(window());
263 QQuickWindowPrivate *windowPrivate = QQuickWindowPrivate::get(window());
263 if (windowPrivate->touchMouseId == event->touchId()) {
264 if (windowPrivate->touchMouseId == event->touchId()) {