From 35d9de7082799b21c3cc6f712556c9e763c419bf Mon Sep 17 00:00:00 2001 From: Mikolaj Boc Date: Fri, 17 Jun 2022 17:20:20 +0200 Subject: [PATCH] Document QMouseEvent::pos() as deprecated in 6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The API is deprecated, but the documentation does not state that. Fixes: PYSIDE-1750 Change-Id: I038ffeb958312d7648690743e06598a15dfb4cbc Reviewed-by: Topi Reiniƶ (cherry picked from commit bc676a7d7ae2a916f20e09ccf65a10d262817aa2) Reviewed-by: Qt Cherry-pick Bot --- src/gui/kernel/qevent.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp index dcc67544656..de55202d386 100644 --- a/src/gui/kernel/qevent.cpp +++ b/src/gui/kernel/qevent.cpp @@ -850,6 +850,7 @@ Qt::MouseEventFlags QMouseEvent::flags() const /*! \fn QPoint QMouseEvent::pos() const + \deprecated [6.0] Use position() instead. Returns the position of the mouse cursor, relative to the widget that received the event.