diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-05-31 14:48:51 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-05-31 14:04:18 +0000 |
commit | 40688602047230a6674e74c2e69b67ea7657cfff (patch) | |
tree | e620543900b35d7d5171eb5938c6abe0788759e3 /examples | |
parent | 5aff0d083248430fed0700ab7e87bfcbd143e44e (diff) |
qwindow-compositor: avoid unused variable warning
Change-Id: Ie9091d6876ac834e204718fbc3258cee367ee292
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/wayland/qwindow-compositor/windowcompositor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/wayland/qwindow-compositor/windowcompositor.cpp b/examples/wayland/qwindow-compositor/windowcompositor.cpp index d3e3e1cf0..b2176f39b 100644 --- a/examples/wayland/qwindow-compositor/windowcompositor.cpp +++ b/examples/wayland/qwindow-compositor/windowcompositor.cpp @@ -291,6 +291,7 @@ void WindowCompositor::onXdgStartResize(QWaylandInputDevice *inputDevice, void WindowCompositor::onSetTransient(QWaylandSurface *parent, const QPoint &relativeToParent, QWaylandWlShellSurface::FocusPolicy focusPolicy) { + Q_UNUSED(focusPolicy); QWaylandWlShellSurface *wlShellSurface = qobject_cast<QWaylandWlShellSurface*>(sender()); WindowCompositorView *view = findView(wlShellSurface->surface()); |