summaryrefslogtreecommitdiffstats
path: root/src/corelib/text
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/text')
-rw-r--r--src/corelib/text/qlocale.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/text/qlocale.cpp b/src/corelib/text/qlocale.cpp
index c1491f0f15..dd92cfe354 100644
--- a/src/corelib/text/qlocale.cpp
+++ b/src/corelib/text/qlocale.cpp
@@ -792,7 +792,7 @@ static const QLocaleData *systemData()
one thread.
*/
{
- static QBasicMutex systemDataMutex;
+ Q_CONSTINIT static QBasicMutex systemDataMutex;
systemDataMutex.lock();
if (systemLocaleData.m_language_id == 0)
updateSystemPrivate();