From d2d74673f3dccc04894f2ea67fc7662cc6ef400b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Nordheim?= Date: Mon, 17 Mar 2025 16:51:13 +0100 Subject: [PATCH] QTest::ignoreMessage: Clarify what encoding we assume for parameter So future-me and others don't have to look through the source code to figure it out. Pick-to: 6.9 6.8 6.5 Change-Id: I1f6e46cec256112226cad4d24ed52e4818635ae8 Reviewed-by: Giuseppe D'Angelo Reviewed-by: Thiago Macieira --- src/testlib/qtestcase.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/testlib/qtestcase.cpp b/src/testlib/qtestcase.cpp index 5e04121245e..d030e714bc6 100644 --- a/src/testlib/qtestcase.cpp +++ b/src/testlib/qtestcase.cpp @@ -2187,6 +2187,8 @@ void QTest::qWarn(const char *message, const char *file, int line) The example above tests that QDir::mkdir() outputs the right warning when invoked with an invalid file name. + + \note \a message will be interpreted as UTF-8. */ void QTest::ignoreMessage(QtMsgType type, const char *message) {