projects
/
profile
/
ivi
/
qtwayland.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c28a3b
)
Get rid of unused variable warnings.
author
Samuel Rødal
<samuel.rodal@nokia.com>
Tue, 15 Mar 2011 09:52:40 +0000
(10:52 +0100)
committer
Samuel Rødal
<samuel.rodal@nokia.com>
Tue, 15 Mar 2011 09:52:40 +0000
(10:52 +0100)
examples/qwidget-compositor/main.cpp
patch
|
blob
|
history
diff --git
a/examples/qwidget-compositor/main.cpp
b/examples/qwidget-compositor/main.cpp
index
781ee5d
..
659058b
100644
(file)
--- 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()));