From 29af027e62bde6b9de425615055775da46605f4b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Samuel=20R=C3=B8dal?= Date: Tue, 15 Mar 2011 10:52:40 +0100 Subject: [PATCH] Get rid of unused variable warnings. --- examples/qwidget-compositor/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/qwidget-compositor/main.cpp b/examples/qwidget-compositor/main.cpp index 781ee5d..659058b 100644 --- a/examples/qwidget-compositor/main.cpp +++ b/examples/qwidget-compositor/main.cpp @@ -104,6 +104,8 @@ protected: void surfaceDamaged(WaylandSurface *surface, const QRect &rect) { #ifdef QT_COMPOSITOR_WAYLAND_GL + Q_UNUSED(surface); + Q_UNUSED(rect); update(); #else update(rect.translated(surface->geometry().topLeft())); -- 2.7.4