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.

Pick-to: 6.8
Change-Id: I9c2b4dde8728a1d884ea37f00de919a037b6dca5
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
  • Loading branch information
timblechmann committed Sep 26, 2024
1 parent 9d8663c commit fc28eb4
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 fc28eb4

Please sign in to comment.