diff --git a/src/testlib/qtestcase.cpp b/src/testlib/qtestcase.cpp index 32206c0eaf8..53f9297ef7d 100644 --- a/src/testlib/qtestcase.cpp +++ b/src/testlib/qtestcase.cpp @@ -2964,7 +2964,7 @@ const char *QTest::currentTestFunction() /*! Returns the name of the current test data. If the test doesn't - have any assigned testdata, the function returns 0. + have any assigned testdata, the function returns \nullptr. */ const char *QTest::currentDataTag() {