From aa4470943d0fafb20c8e90d5f5a71369a990189a Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Fri, 19 Jul 2019 18:06:27 +0200 Subject: Procrastinate QWheelEvent deprecations until 5.15 It turns out that Qt3D has uses of x() and y() in a header, which is an error rather than just a warning. So we need more time to do a qt5.git submodule update, then fix Qt3D. Amends 7d29807296cb7ccc7f3459e106d74f93a321c493 Change-Id: Ibead628e7094316bb17d5924f6c6f75dbda5826b Reviewed-by: Liang Qi Reviewed-by: Edward Welbourne --- src/gui/kernel/qevent.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/kernel/qevent.cpp') diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp index 2ec90433d6..ec52791010 100644 --- a/src/gui/kernel/qevent.cpp +++ b/src/gui/kernel/qevent.cpp @@ -758,7 +758,7 @@ QHoverEvent::~QHoverEvent() */ #if QT_CONFIG(wheelevent) -#if QT_DEPRECATED_SINCE(5, 14) +#if QT_DEPRECATED_SINCE(5, 15) /*! \obsolete This constructor has been deprecated. @@ -839,7 +839,7 @@ QWheelEvent::QWheelEvent(const QPointF &pos, const QPointF& globalPos, angleD(angleDelta), qt4D(qt4Delta), qt4O(qt4Orientation), mouseState(buttons), src(source), invertedScrolling(inverted), ph(phase) {} -#endif // QT_DEPRECATED_SINCE(5, 14) +#endif // QT_DEPRECATED_SINCE(5, 15) /*! Constructs a wheel event object. -- cgit v1.2.1