summaryrefslogtreecommitdiffstats
path: root/tests/auto/input/commons/testdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/input/commons/testdevice.h')
-rw-r--r--tests/auto/input/commons/testdevice.h4
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