diff options
Diffstat (limited to 'src/input/frontend/qkeyboardcontroller.cpp')
-rw-r--r-- | src/input/frontend/qkeyboardcontroller.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/frontend/qkeyboardcontroller.cpp b/src/input/frontend/qkeyboardcontroller.cpp index 77b54c7fa..09ff52066 100644 --- a/src/input/frontend/qkeyboardcontroller.cpp +++ b/src/input/frontend/qkeyboardcontroller.cpp @@ -258,13 +258,13 @@ QStringList QKeyboardController::buttonNames() const return d->m_keyNames; } -int QKeyboardController::axisIdentifier(const QString &name) +int QKeyboardController::axisIdentifier(const QString &name) const { Q_UNUSED(name); return 0; } -int QKeyboardController::buttonIdentifier(const QString &name) +int QKeyboardController::buttonIdentifier(const QString &name) const { Q_D(const QKeyboardController); return d->m_keyMap.value(name, 0); |