aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickmultipointtoucharea.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-03-04 11:27:27 +0100
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-03-05 10:03:30 +0000
commitadaa3fc546ed831ec69a019c1e0ef48d9e69eb12 (patch)
treedd2f49b2df1a324226f395b42cb4b41f07afd38b /src/quick/items/qquickmultipointtoucharea.cpp
parent4d8b9373c62b9b58c54548f41f1e9d84e9522c6e (diff)
Fix invocations of static methods of QGuiApplication/QCoreApplication.
Change-Id: I7bcc209b0c6e77cf6d974af85a19487345a48975 Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
Diffstat (limited to 'src/quick/items/qquickmultipointtoucharea.cpp')
-rw-r--r--src/quick/items/qquickmultipointtoucharea.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/items/qquickmultipointtoucharea.cpp b/src/quick/items/qquickmultipointtoucharea.cpp
index dcc07300e4..e6b63d32f2 100644
--- a/src/quick/items/qquickmultipointtoucharea.cpp
+++ b/src/quick/items/qquickmultipointtoucharea.cpp
@@ -555,7 +555,7 @@ void QQuickMultiPointTouchArea::updateTouchData(QEvent *event)
//see if we should be grabbing the gesture
if (!_stealMouse /* !ignoring gesture*/) {
bool offerGrab = false;
- const int dragThreshold = qApp->styleHints()->startDragDistance();
+ const int dragThreshold = QGuiApplication::styleHints()->startDragDistance();
foreach (const QTouchEvent::TouchPoint &p, touchPoints) {
if (p.state() == Qt::TouchPointReleased)
continue;