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/gui | |
parent | 03aafc9d48300ba75da4bf4a8710783bc63ad53c (diff) |
Remove warnings
(cherry picked from commit 9625c564877414695a9706acf34bc8719018ef06)
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/kernel/qplatformintegration_qpa.cpp | 1 | ||||
-rw-r--r-- | src/gui/kernel/qplatformwindow_qpa.cpp | 2 |
2 files changed, 2 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 |