summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMårten Nordheim <[email protected]>2025-03-17 16:51:13 +0100
committerMårten Nordheim <[email protected]>2025-03-28 04:05:57 +0100
commitd2d74673f3dccc04894f2ea67fc7662cc6ef400b (patch)
tree6a4af64bab5799d5f1e70954b306c93db23c3a10
parent2332f827c5344dae2a528fb61f720694a364bffa (diff)
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 <[email protected]> Reviewed-by: Thiago Macieira <[email protected]>
-rw-r--r--src/testlib/qtestcase.cpp2
1 files changed, 2 insertions, 0 deletions
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)
{