diff options
author | Marc Mutz <marc.mutz@qt.io> | 2023-05-31 09:49:28 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2023-05-31 16:37:19 +0200 |
commit | 496bd9e9755f4636aa4086af7942feee023ff780 (patch) | |
tree | 98066f53ea9a258e687517f6cf8264dcbb1b3b89 /src | |
parent | e07710007b4cf9c0665ac9d5c2b6c7ef588aae0a (diff) |
QVariant: remove outdated docs about reimplementing clear()
QVariant::clear() hasn't been virtual since at least Qt 4...
Pick-to: 6.5 6.2 5.15
Change-Id: If6b5669d91f8d9c7ed2d152d18852a8d6f8e491a
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/kernel/qvariant.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/corelib/kernel/qvariant.cpp b/src/corelib/kernel/qvariant.cpp index d4a7c91640..2bce58703a 100644 --- a/src/corelib/kernel/qvariant.cpp +++ b/src/corelib/kernel/qvariant.cpp @@ -498,11 +498,6 @@ void QVariant::create(QMetaType type, const void *copy) \fn QVariant::~QVariant() Destroys the QVariant and the contained object. - - Note that subclasses that reimplement clear() should reimplement - the destructor to call clear(). This destructor calls clear(), but - because it is the destructor, QVariant::clear() is called rather - than a subclass's clear(). */ QVariant::~QVariant() |