summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatforminputcontext_qpa.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qplatforminputcontext_qpa.cpp')
-rw-r--r--src/gui/kernel/qplatforminputcontext_qpa.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qplatforminputcontext_qpa.cpp b/src/gui/kernel/qplatforminputcontext_qpa.cpp
index 3459046dab..0313f69e5b 100644
--- a/src/gui/kernel/qplatforminputcontext_qpa.cpp
+++ b/src/gui/kernel/qplatforminputcontext_qpa.cpp
@@ -72,6 +72,7 @@ void QPlatformInputContext::update(Qt::InputMethodQueries)
void QPlatformInputContext::invokeAction(QInputPanel::Action action, int cursorPosition)
{
+ Q_UNUSED(cursorPosition)
// Default behavior for simple ephemeral input contexts. Some
// complex input contexts should not be reset here.
if (action == QInputPanel::Click)
@@ -80,6 +81,7 @@ void QPlatformInputContext::invokeAction(QInputPanel::Action action, int cursorP
bool QPlatformInputContext::filterEvent(const QEvent *event)
{
+ Q_UNUSED(event)
return false;
}