summaryrefslogtreecommitdiffstats
path: root/tests/manual/barstest/custominputhandler.h
diff options
context:
space:
mode:
authorTuomo Pelkonen <tuomo.pelkonen@gmail.com>2021-01-28 13:07:18 +0200
committerTomi Korpipaa <tomi.korpipaa@qt.io>2021-02-11 11:25:30 +0200
commit60d8d2ddb5a9bb76cdac8556541f98694ffb82a6 (patch)
tree79cb6a394efede2467476866e525ad349f3d74fd /tests/manual/barstest/custominputhandler.h
parentdb093d4229cbfb8a27a345c7568ee0b56dec960b (diff)
Fix build for Qt 6.1
Task-number: QTBUG-89299 Task-number: QTBUG-90926 Change-Id: I49822338f94e2bdcb0ae5b29d2211127e40d58f9 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> (cherry picked from commit d2c6249bb9292deec97b5a026be5efdb7a83bba7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests/manual/barstest/custominputhandler.h')
-rw-r--r--tests/manual/barstest/custominputhandler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/manual/barstest/custominputhandler.h b/tests/manual/barstest/custominputhandler.h
index ce864335..62b87d31 100644
--- a/tests/manual/barstest/custominputhandler.h
+++ b/tests/manual/barstest/custominputhandler.h
@@ -38,8 +38,8 @@ class CustomInputHandler : public QAbstract3DInputHandler
public:
explicit CustomInputHandler(QObject *parent = 0);
- virtual void mouseMoveEvent(QMouseEvent *event, const QPoint &mousePos);
- virtual void wheelEvent(QWheelEvent *event);
+ virtual void mouseMoveEvent(QMouseEvent *event, const QPoint &mousePos) override;
+ virtual void wheelEvent(QWheelEvent *event) override;
};
#endif