Tidy up doc of QLocale::setDefault()

Separate out the brief one-line summary.
Reflow.

Change-Id: Ib1edfc3db9f2f54bbc00be993efff2a520436d89
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Edward Welbourne 2024-11-04 18:51:32 +01:00
parent 1791492d16
commit 6085b93990

View File

@ -1378,14 +1378,13 @@ QString QLocale::createSeparatedList(const QStringList &list) const
/*!
\nonreentrant
Sets the global default locale to \a locale. These
values are used when a QLocale object is constructed with
no arguments. If this function is not called, the system's
locale is used.
Sets the global default locale to \a locale.
\warning In a multithreaded application, the default locale
should be set at application startup, before any non-GUI threads
are created.
This locale is used when a QLocale object is constructed with no
arguments. If this function is not called, the system's locale is used.
\warning In a multithreaded application, the default locale should be set at
application startup, before any non-GUI threads are created.
\sa system(), c()
*/