aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2013-05-06 10:57:53 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-05-15 11:43:38 +0200
commit3fb03d8e0d8275349241eee619466698f6fc4825 (patch)
treec10aa17a7b55f5293cff7b6953f7c3d451f18091 /src/quick
parent8b548bf9bbf2e6bb2a8d25a1558db607f2d0c767 (diff)
Fix warnings about unused parameters.
Change-Id: I091a0369f2026ae820d623aadd13a3190d40a56b Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Diffstat (limited to 'src/quick')
-rw-r--r--src/quick/items/qquickmultipointtoucharea.cpp2
-rw-r--r--src/quick/items/qquickpincharea.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/quick/items/qquickmultipointtoucharea.cpp b/src/quick/items/qquickmultipointtoucharea.cpp
index a6c92ac060..d6b00cee14 100644
--- a/src/quick/items/qquickmultipointtoucharea.cpp
+++ b/src/quick/items/qquickmultipointtoucharea.cpp
@@ -565,6 +565,8 @@ void QQuickMultiPointTouchArea::setTouchEventsEnabledForWindow(QWindow *window)
// Save the current window, setTouchEventsEnabledForWindow will be called
// with a null window on disable.
_currentWindow = window;
+#else // Q_OS_MAC
+ Q_UNUSED(window)
#endif
}
diff --git a/src/quick/items/qquickpincharea.cpp b/src/quick/items/qquickpincharea.cpp
index dc586dcaea..434eaa8723 100644
--- a/src/quick/items/qquickpincharea.cpp
+++ b/src/quick/items/qquickpincharea.cpp
@@ -562,6 +562,8 @@ void QQuickPinchArea::setTouchEventsEnabledForWindow(QWindow *window)
// Save the current window, setTouchEventsEnabledForWindow will be called
// with a null window on disable.
_currentWindow = window;
+#else // Q_OS_MAC
+ Q_UNUSED(window)
#endif
}