diff options
| author | Edward Welbourne <edward.welbourne@qt.io> | 2022-08-10 18:13:32 +0200 |
|---|---|---|
| committer | Edward Welbourne <edward.welbourne@qt.io> | 2022-09-07 15:29:39 +0200 |
| commit | 21d4e3a69df06a085643e864bb09ec5a5af4ab6a (patch) | |
| tree | 7141bc68daddf806f11bac99e6f1a759252375e5 /src/tools/uic/cpp/cppwriteinitialization.cpp | |
| parent | 6a14ad4993f5d89280c2a529a57054dc58219b96 (diff) | |
Eliminate QSystemLocaleSingleton and QSystemLocale(bool)
They are no longer needed. The global static will only ever be
instantiated if and when the QSystemLocale stack is empty; it will
then survive to the end of run-time, serving as a bottom-of-stack
instance that will always be fallen back to after any other instances'
lifetimes. It can thus be a local static of the only function that
accesses it.
Change-Id: I21a1623728b25b46da6e25db9bb973c507a39ca3
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/tools/uic/cpp/cppwriteinitialization.cpp')
0 files changed, 0 insertions, 0 deletions
