summaryrefslogtreecommitdiffstats
path: root/src/client/qwaylandinputcontext.cpp
diff options
context:
space:
mode:
authorJorgen Lind <jorgen.lind@digia.com>2013-11-22 16:54:54 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-12-27 21:19:19 +0100
commit645dc7c8528ef05e8f1cb040a5350c631eaa0162 (patch)
treed97864c03b713097288c516e08526fcaa3ef33ec /src/client/qwaylandinputcontext.cpp
parentcc6a016fc3a4d05adeec5c8945beab50ffe07525 (diff)
Fix compiler warnings
Change-Id: I499c50c901bff1c496b05b628f8155376b5af267 Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Diffstat (limited to 'src/client/qwaylandinputcontext.cpp')
-rw-r--r--src/client/qwaylandinputcontext.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client/qwaylandinputcontext.cpp b/src/client/qwaylandinputcontext.cpp
index f50581b3a..e9fb87179 100644
--- a/src/client/qwaylandinputcontext.cpp
+++ b/src/client/qwaylandinputcontext.cpp
@@ -126,6 +126,7 @@ void QWaylandTextInput::updateState()
void QWaylandTextInput::text_input_commit_string(uint32_t serial, const QString &text)
{
+ Q_UNUSED(serial);
if (!QGuiApplication::focusObject())
return;
@@ -146,6 +147,9 @@ void QWaylandTextInput::text_input_leave()
void QWaylandTextInput::text_input_keysym(uint32_t serial, uint32_t time, uint32_t sym, uint32_t state, uint32_t modifiers)
{
+ Q_UNUSED(serial);
+ Q_UNUSED(time);
+ Q_UNUSED(modifiers);
if (!QGuiApplication::focusObject())
return;
@@ -191,6 +195,7 @@ void QWaylandInputContext::commit()
void QWaylandInputContext::update(Qt::InputMethodQueries queries)
{
+ Q_UNUSED(queries);
if (!ensureTextInput())
return;