diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2011-05-03 13:00:50 +0200 |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@nokia.com> | 2011-05-04 09:03:50 +0200 |
commit | d8c6e2773f2161b3070809254c3fb9f9768bcc09 (patch) | |
tree | 121609178465c0495db2ffca6b8df235fc2df414 /src | |
parent | 03aafc9d48300ba75da4bf4a8710783bc63ad53c (diff) |
Remove warnings
(cherry picked from commit 9625c564877414695a9706acf34bc8719018ef06)
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/kernel/qplatformintegration_qpa.cpp | 1 | ||||
-rw-r--r-- | src/gui/kernel/qplatformwindow_qpa.cpp | 2 | ||||
-rw-r--r-- | src/plugins/platforms/wayland/qwaylandwindow.cpp | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/kernel/qplatformintegration_qpa.cpp b/src/gui/kernel/qplatformintegration_qpa.cpp index d559c53355..8ff12ebf9c 100644 --- a/src/gui/kernel/qplatformintegration_qpa.cpp +++ b/src/gui/kernel/qplatformintegration_qpa.cpp @@ -214,6 +214,7 @@ QPlatformNativeInterface * QPlatformIntegration::nativeInterface() const bool QPlatformIntegration::hasCapability(Capability cap) const { + Q_UNUSED(cap); return false; } diff --git a/src/gui/kernel/qplatformwindow_qpa.cpp b/src/gui/kernel/qplatformwindow_qpa.cpp index 19bf7a9f29..f3654b676d 100644 --- a/src/gui/kernel/qplatformwindow_qpa.cpp +++ b/src/gui/kernel/qplatformwindow_qpa.cpp @@ -150,7 +150,7 @@ void QPlatformWindow::setParent(const QPlatformWindow *parent) /*! Reimplement to set the window title to \a title */ -void QPlatformWindow::setWindowTitle(const QString &title) {} +void QPlatformWindow::setWindowTitle(const QString &) {} /*! Reimplement to be able to let Qt rais windows to the top of the desktop diff --git a/src/plugins/platforms/wayland/qwaylandwindow.cpp b/src/plugins/platforms/wayland/qwaylandwindow.cpp index 6f522911d7..53f2f483e9 100644 --- a/src/plugins/platforms/wayland/qwaylandwindow.cpp +++ b/src/plugins/platforms/wayland/qwaylandwindow.cpp @@ -146,6 +146,7 @@ void QWaylandWindow::newSurfaceCreated() void QWaylandWindow::frameCallback(struct wl_surface *surface, void *data, uint32_t time) { Q_UNUSED(time); + Q_UNUSED(surface); QWaylandWindow *self = static_cast<QWaylandWindow*>(data); self->mWaitingForFrameSync = false; } |