diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2017-01-10 12:26:26 +0100 |
---|---|---|
committer | Johan Helsing <johan.helsing@qt.io> | 2017-01-12 12:13:03 +0000 |
commit | fd310aac0486ac26076e0aea87f6f8e0ed9aa542 (patch) | |
tree | eac37cd2f53019f40bbeaf7e17f8160a4b00f55f /src/compositor/compositor_api/qwaylandquickitem.h | |
parent | 5e6259b09326022324709c44ad533d004056e048 (diff) |
Send touch cancel event when QWaylandQuickItem::visible is set to false
Task-number: QTBUG-57927
Change-Id: I8b6a5aaa9337222286382ffbeee13b794bec125c
Reviewed-by: Jan Arne Petersen <jan.petersen@kdab.com>
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/compositor/compositor_api/qwaylandquickitem.h')
-rw-r--r-- | src/compositor/compositor_api/qwaylandquickitem.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compositor/compositor_api/qwaylandquickitem.h b/src/compositor/compositor_api/qwaylandquickitem.h index 87d10b024..04f33db67 100644 --- a/src/compositor/compositor_api/qwaylandquickitem.h +++ b/src/compositor/compositor_api/qwaylandquickitem.h @@ -133,7 +133,8 @@ protected: void keyPressEvent(QKeyEvent *event) Q_DECL_OVERRIDE; void keyReleaseEvent(QKeyEvent *event) Q_DECL_OVERRIDE; - void touchEvent(QTouchEvent *event) Q_DECL_OVERRIDE; + void touchEvent(QTouchEvent *event) override; + void touchUngrabEvent() override; #if QT_CONFIG(im) void inputMethodEvent(QInputMethodEvent *event) Q_DECL_OVERRIDE; |