Get rid of unused variable warnings.
authorSamuel Rødal <samuel.rodal@nokia.com>
Tue, 15 Mar 2011 09:52:40 +0000 (10:52 +0100)
committerSamuel Rødal <samuel.rodal@nokia.com>
Tue, 15 Mar 2011 09:52:40 +0000 (10:52 +0100)
examples/qwidget-compositor/main.cpp

index 781ee5d..659058b 100644 (file)
@@ -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()));