Skip to content

Commit

Permalink
Docs: remove remark of registering custom types
Browse files Browse the repository at this point in the history
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 fc28eb4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
  • Loading branch information
timblechmann authored and Qt Cherry-pick Bot committed Sep 26, 2024
1 parent c20a382 commit 084e9af
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/testlib/qtestcase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 084e9af

Please sign in to comment.