summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qscopedpointer.cpp
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2021-05-06 19:12:54 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2021-05-06 23:49:20 +0200
commit1c34bf1d6b807ab2340d76819197f3bbfd16a198 (patch)
tree41bca804573148f5504b71e1d6487c70d5017064 /src/corelib/tools/qscopedpointer.cpp
parent08c852be434352f15a62ba00819e1e3bd4c38376 (diff)
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 <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/tools/qscopedpointer.cpp')
-rw-r--r--src/corelib/tools/qscopedpointer.cpp3
1 files changed, 0 insertions, 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.
*/
/*!