From e02dc31fbf3ae460bea2aea068ccc969d6e852fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Fri, 15 Dec 2023 12:05:55 +0100 Subject: [PATCH] Tweak QObject::deleteLater() documentation a bit The Qt 4.8 reference is not relevant. And mentioning that calling the function more than once is safe, or why that is, is strange, as users should still treat the object as something that will go away soon. Pick-to: 6.7 Change-Id: Icf24aa8ffe079e35351006dd77063df48a596fab Reviewed-by: Thiago Macieira --- src/corelib/kernel/qobject.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/corelib/kernel/qobject.cpp b/src/corelib/kernel/qobject.cpp index 3a5921628ad..7154664a0bd 100644 --- a/src/corelib/kernel/qobject.cpp +++ b/src/corelib/kernel/qobject.cpp @@ -2428,10 +2428,6 @@ void QObject::removeEventFilter(QObject *obj) ); \endcode - \note It is safe to call this function more than once; when the - first deferred deletion event is delivered, any pending events for the - object are removed from the event queue. - \sa destroyed(), QPointer */ void QObject::deleteLater()