qt5base-lts/tests/auto/corelib/tools/qlocale
Edward Welbourne d5891036de Make updateSystemPrivate() local to qlocale.cpp
It's not thread-safe so should only be used within systemData()'s
locked code.  This eliminates the last callers of it by making it a
local function of the compilation unit, exposing a method from
QSystemLocale() to get round its use of private parts.  Make the
constructor for QSystemLocale only stomp its _systemLocale global if
previously unset, but let instantiation still clear
globalLocaleData.m_language_id, so that it can be used as a way to
trigger an update to system locale data.

Change-Id: I908dca9fd30bbf20f42321ab8f9094f2fa37b7b0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2018-09-11 08:22:59 +00:00
..
syslocaleapp Updated license headers 2016-01-21 18:55:18 +00:00
test Make tests compile for Android 2018-06-25 08:01:19 +00:00
.gitignore Moving relevant tests to corelib/tools 2011-09-01 13:07:23 +02:00
BLACKLIST Blacklist two tests on macOS that a planned CI change shall break 2018-08-24 17:30:01 +00:00
qlocale.pro Fix compilation for WinRT 2015-12-14 08:43:15 +00:00
tst_qlocale.cpp Make updateSystemPrivate() local to qlocale.cpp 2018-09-11 08:22:59 +00:00