From 084e9af11679d0fdde5c2fae4ca2f6e0b5418d5c Mon Sep 17 00:00:00 2001 From: Tim Blechmann Date: Thu, 26 Sep 2024 14:49:36 +0800 Subject: [PATCH] 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 (cherry picked from commit fc28eb4688c36fa5f00867ebf9ae569e031ef446) Reviewed-by: Qt Cherry-pick Bot --- src/testlib/qtestcase.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/testlib/qtestcase.cpp b/src/testlib/qtestcase.cpp index 1ff7c8a377b..aa31a181697 100644 --- a/src/testlib/qtestcase.cpp +++ b/src/testlib/qtestcase.cpp @@ -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.