summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wayland
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2010-10-22 21:00:08 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2011-01-25 17:56:49 (GMT)
commit632b53c1e2704cf1f922f5b0378693361abb7a3d (patch)
treeb90e095ee1a7a53a89eef36c0c2280f80b6425e4 /src/plugins/platforms/wayland
parent506e3535c85de2b41e0d31bbcd3b726ce8adbeca (diff)
downloadQt-632b53c1e2704cf1f922f5b0378693361abb7a3d.zip
Qt-632b53c1e2704cf1f922f5b0378693361abb7a3d.tar.gz
Qt-632b53c1e2704cf1f922f5b0378693361abb7a3d.tar.bz2
Wayland: silence unused variable warnings in qwaylandinputdevice.cpp
Diffstat (limited to 'src/plugins/platforms/wayland')
-rw-r--r--src/plugins/platforms/wayland/qwaylandinputdevice.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/platforms/wayland/qwaylandinputdevice.cpp b/src/plugins/platforms/wayland/qwaylandinputdevice.cpp
index fd7a649..6d489b6 100644
--- a/src/plugins/platforms/wayland/qwaylandinputdevice.cpp
+++ b/src/plugins/platforms/wayland/qwaylandinputdevice.cpp
@@ -110,6 +110,7 @@ static Qt::KeyboardModifiers translateModifiers(int s)
static uint32_t translateKey(uint32_t sym, char *string, size_t size)
{
+ Q_UNUSED(size);
string[0] = '\0';
switch (sym) {
@@ -204,6 +205,10 @@ void QWaylandInputDevice::inputHandlePointerFocus(void *data,
int32_t x, int32_t y, int32_t sx, int32_t sy)
{
Q_UNUSED(input_device);
+ Q_UNUSED(x);
+ Q_UNUSED(y);
+ Q_UNUSED(sx);
+ Q_UNUSED(sy);
QWaylandInputDevice *inputDevice = (QWaylandInputDevice *) data;
QWaylandWindow *window;
@@ -229,6 +234,8 @@ void QWaylandInputDevice::inputHandleKeyboardFocus(void *data,
struct wl_array *keys)
{
Q_UNUSED(input_device);
+ Q_UNUSED(time);
+ Q_UNUSED(keys);
QWaylandInputDevice *inputDevice = (QWaylandInputDevice *) data;
QWaylandWindow *window;