diff options
author | BogDan Vatra <bogdan@kdab.com> | 2016-01-14 17:38:25 +0200 |
---|---|---|
committer | BogDan Vatra <bogdan@kdab.com> | 2016-01-14 15:46:08 +0000 |
commit | 825f7fe1d80583fe70c1616e1d3973cc3dc65e7b (patch) | |
tree | 1ed8cb3c4328e7052ebaf2f790852f77e1cf1ac9 /tests | |
parent | 4a63bba7ce76801b8bea1094a7ff16a9f8029b37 (diff) |
Make axisIdentifier & buttonIdentifier const
Change-Id: Idedf3cab5d8a30d1a417ceb10555170b53b00d26
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/input/commons/testdevice.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/input/commons/testdevice.h b/tests/auto/input/commons/testdevice.h index d04130cfc..b8e048a86 100644 --- a/tests/auto/input/commons/testdevice.h +++ b/tests/auto/input/commons/testdevice.h @@ -54,8 +54,8 @@ public: int buttonCount() const Q_DECL_FINAL { return 0; } QStringList axisNames() const Q_DECL_FINAL { return QStringList(); } QStringList buttonNames() const Q_DECL_FINAL { return QStringList(); } - int axisIdentifier(const QString &name) Q_DECL_FINAL { Q_UNUSED(name) return 0; } - int buttonIdentifier(const QString &name) Q_DECL_FINAL { Q_UNUSED(name) return 0; } + int axisIdentifier(const QString &name) const Q_DECL_FINAL { Q_UNUSED(name) return 0; } + int buttonIdentifier(const QString &name) const Q_DECL_FINAL { Q_UNUSED(name) return 0; } protected: void copy(const Qt3DCore::QNode *ref) Q_DECL_FINAL |