qt6-bb10/tests/auto/corelib/text/qstring
Marc Mutz 6c60117d01 tst_QString: explain TransientDefaultLocale better
A default-constructed QLocale gets initialized with the
currently-active default locale, and apparently retains that setting
henceforth. That is why the `prior` member is not explicitly
initialized, which is confusing at face value.

Explain the mechanism better, and explicitly default-initialize the
member, so the next reader of the code saves the time to research
this.

Amends 76dfda1ad1.

Pick-to: 6.6 6.5 6.2 5.15
Change-Id: I1d1171f8564c70a971938b92b809f63ba5637d3a
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2023-12-07 23:55:08 +01:00
..
.gitignore Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00
CMakeLists.txt CI: Enable tests under corelib/text for Wasm platform 2023-07-10 14:53:34 +02:00
double_data.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
tst_qstring.cpp tst_QString: explain TransientDefaultLocale better 2023-12-07 23:55:08 +01:00
tst_qstring_mac.mm QString: change test data to compile with QT_NO_CAST_FROM_ASCII [10/13] 2023-03-15 22:25:57 +02:00
tst_qstring_wasm.cpp wasm: rename JsString -> EcmaString 2023-08-30 23:02:03 +02:00