summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-09-27 15:18:02 +0200
committerQt by Nokia <qt-info@nokia.com>2011-09-28 03:17:51 +0200
commit36850d5cecd37d00d296428739a9e01f00228421 (patch)
tree17ffebf94f98911bee55984a99326903306baf1d /src/gui
parente918598e2d525af1709045ff172e01075bbec662 (diff)
Fix compiler warnings.
Change-Id: I6b6d86097074a12c9c4e3d22fe61a6b962ffa21e Reviewed-on: http://codereview.qt-project.org/5627 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/kernel/qplatforminputcontext_qpa.cpp2
-rw-r--r--src/gui/kernel/qplatformnativeinterface_qpa.cpp1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/kernel/qplatforminputcontext_qpa.cpp b/src/gui/kernel/qplatforminputcontext_qpa.cpp
index 3459046dab..0313f69e5b 100644
--- a/src/gui/kernel/qplatforminputcontext_qpa.cpp
+++ b/src/gui/kernel/qplatforminputcontext_qpa.cpp
@@ -72,6 +72,7 @@ void QPlatformInputContext::update(Qt::InputMethodQueries)
void QPlatformInputContext::invokeAction(QInputPanel::Action action, int cursorPosition)
{
+ Q_UNUSED(cursorPosition)
// Default behavior for simple ephemeral input contexts. Some
// complex input contexts should not be reset here.
if (action == QInputPanel::Click)
@@ -80,6 +81,7 @@ void QPlatformInputContext::invokeAction(QInputPanel::Action action, int cursorP
bool QPlatformInputContext::filterEvent(const QEvent *event)
{
+ Q_UNUSED(event)
return false;
}
diff --git a/src/gui/kernel/qplatformnativeinterface_qpa.cpp b/src/gui/kernel/qplatformnativeinterface_qpa.cpp
index 7b9ff4a7a5..5c1f8458db 100644
--- a/src/gui/kernel/qplatformnativeinterface_qpa.cpp
+++ b/src/gui/kernel/qplatformnativeinterface_qpa.cpp
@@ -69,6 +69,7 @@ void * QPlatformNativeInterface::nativeResourceForBackingStore(const QByteArray
*/
QVariantMap QPlatformNativeInterface::windowProperties(QPlatformWindow *window) const
{
+ Q_UNUSED(window)
return QVariantMap();
}