Docs: remove remark of registering custom types

Types are automatically registered these days, so the remark about
explicitly registering them is out of date and can be removed.

Change-Id: I9c2b4dde8728a1d884ea37f00de919a037b6dca5
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit fc28eb4688c36fa5f00867ebf9ae569e031ef446)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Tim Blechmann 2024-09-26 14:49:36 +08:00 committed by Qt Cherry-pick Bot
parent c20a382023
commit 084e9af116

View File

@ -2627,9 +2627,6 @@ QTestData &QTest::addRow(const char *format, ...)
Example:
\snippet code/src_qtestlib_qtestcase.cpp 21
To add custom types to the testdata, the type must be registered with
QMetaType via \l Q_DECLARE_METATYPE().
\note This function can only be used called as part of a test's data
function that is invoked by the test framework.