From 1c34bf1d6b807ab2340d76819197f3bbfd16a198 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. Pick-to: 6.1 Change-Id: Ic867fd45396871245d6f5714f6a886c706e99c04 Reviewed-by: Edward Welbourne --- 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 2f9f6f0dd4..40d08b9653 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. */ /*!