diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-03-04 11:27:27 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-03-05 10:03:30 +0000 |
commit | adaa3fc546ed831ec69a019c1e0ef48d9e69eb12 (patch) | |
tree | dd2f49b2df1a324226f395b42cb4b41f07afd38b /src/quick/items/qquickmousearea.cpp | |
parent | 4d8b9373c62b9b58c54548f41f1e9d84e9522c6e (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/qquickmousearea.cpp')
-rw-r--r-- | src/quick/items/qquickmousearea.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/items/qquickmousearea.cpp b/src/quick/items/qquickmousearea.cpp index 6227329fbc..9b1d54173a 100644 --- a/src/quick/items/qquickmousearea.cpp +++ b/src/quick/items/qquickmousearea.cpp @@ -676,7 +676,7 @@ void QQuickMouseArea::mousePressEvent(QMouseEvent *event) #endif setHovered(true); d->startScene = event->windowPos(); - d->pressAndHoldTimer.start(qApp->styleHints()->mousePressAndHoldInterval(), this); + d->pressAndHoldTimer.start(QGuiApplication::styleHints()->mousePressAndHoldInterval(), this); setKeepMouseGrab(d->stealMouse); event->setAccepted(setPressed(event->button(), true)); } |