From 1e792df00440716875f9bbe8d8051ca33900912f Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Thu, 6 May 2021 19:12:54 +0200 Subject: [PATCH] QScopedPointer: remove doc mention of take() It is deprecated so it shouldn't get mentioned by the ordinary docs. Change-Id: Ic867fd45396871245d6f5714f6a886c706e99c04 Reviewed-by: Edward Welbourne (cherry picked from commit 1c34bf1d6b807ab2340d76819197f3bbfd16a198) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/tools/qscopedpointer.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/corelib/tools/qscopedpointer.cpp b/src/corelib/tools/qscopedpointer.cpp index 1dd77a22dc8..cdf127829e2 100644 --- a/src/corelib/tools/qscopedpointer.cpp +++ b/src/corelib/tools/qscopedpointer.cpp @@ -243,9 +243,6 @@ QT_BEGIN_NAMESPACE Deletes the existing object it is pointing to (if any), and sets its pointer to \a other. QScopedPointer now owns \a other and will delete it in its destructor. - - To clear the pointer held without deleting the object it points to (and hence take ownership - of the object), use \l take() instead. */ /*!