diff options
author | Tasuku Suzuki <tasuku.suzuki@qt.io> | 2017-01-13 17:14:45 +0900 |
---|---|---|
committer | Tasuku Suzuki <tasuku.suzuki@qt.io> | 2017-01-13 11:05:20 +0000 |
commit | 1dc17c10c314fcc67bd52a9e8e79ab45eaff7dc6 (patch) | |
tree | 468e864a04885f3cf7ed9a23e7c2fa7d0d89e185 /src/compositor/compositor_api/qwaylandquickitem.h | |
parent | 78215d02a052ffc58cca109ef91fd531594375e9 (diff) |
Fix build without feature.wheelevent
Change-Id: Ib78093b75f99a5b7b2589722f4706b75c2431c74
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/compositor/compositor_api/qwaylandquickitem.h')
-rw-r--r-- | src/compositor/compositor_api/qwaylandquickitem.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compositor/compositor_api/qwaylandquickitem.h b/src/compositor/compositor_api/qwaylandquickitem.h index 04f33db67..09f057adb 100644 --- a/src/compositor/compositor_api/qwaylandquickitem.h +++ b/src/compositor/compositor_api/qwaylandquickitem.h @@ -128,7 +128,9 @@ protected: void hoverEnterEvent(QHoverEvent *event) Q_DECL_OVERRIDE; void hoverMoveEvent(QHoverEvent *event) Q_DECL_OVERRIDE; void hoverLeaveEvent(QHoverEvent *event) Q_DECL_OVERRIDE; +#if QT_CONFIG(wheelevent) void wheelEvent(QWheelEvent *event) Q_DECL_OVERRIDE; +#endif void keyPressEvent(QKeyEvent *event) Q_DECL_OVERRIDE; void keyReleaseEvent(QKeyEvent *event) Q_DECL_OVERRIDE; |