From 281cada9c19e346fafe6d51012c70cf027e51838 Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Fri, 8 Jul 2022 16:24:24 +0200 Subject: [PATCH] Replace 0 with \nullptr in QTest::currentDataTag()'s doc The function's return type is a pointer, not an integer. Change-Id: Iab6686ac7e4e24b9b1bd0127346c5854cf593a57 Reviewed-by: Marc Mutz --- src/testlib/qtestcase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {