aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickwidgets
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-09-16 10:34:53 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-09-16 16:24:21 +0200
commit38b9c4f327d2860c5d6e6d2cdbd671173a0d75c8 (patch)
tree6e97e9af55c6f9bee6c7f413a4da009f002ebc14 /src/quickwidgets
parentc430fc856964b8d07cd5bebe874095c7e3a0fc54 (diff)
Fix additional warnings from usage of deprecated APIs
Replace more QLibaryInfo::location with QLibraryInfo::path Replace old event accessors APIs, including relevant comments. Change-Id: Ie205fc93b6e1c0dfb3dca9100fbde417ab68fc9f Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/quickwidgets')
-rw-r--r--src/quickwidgets/qquickwidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/quickwidgets/qquickwidget.cpp b/src/quickwidgets/qquickwidget.cpp
index bb9157d0e7..ca8bdac801 100644
--- a/src/quickwidgets/qquickwidget.cpp
+++ b/src/quickwidgets/qquickwidget.cpp
@@ -1365,9 +1365,9 @@ void QQuickWidget::mouseMoveEvent(QMouseEvent *e)
Q_QUICK_INPUT_PROFILE(QQuickProfiler::Mouse, QQuickProfiler::InputMouseMove, e->position().x(),
e->position().y());
- // Put localPos into the event's localPos and windowPos, and screenPos into the
- // event's screenPos. This way the windowPos in e is ignored and is replaced by
- // localPos. This is necessary because QQuickWindow thinks of itself as a
+ // Put position into the event's position and scenePosition, and globalPosition into the
+ // event's globalPosition. This way the scenePosition in e is ignored and is replaced by
+ // position. This is necessary because QQuickWindow thinks of itself as a
// top-level window always.
QMouseEvent mappedEvent(e->type(), e->position(), e->position(), e->globalPosition(),
e->button(), e->buttons(), e->modifiers(), e->source());