From 6085b9399053cd6665dc1a7b636c078992aaffe0 Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Mon, 4 Nov 2024 18:51:32 +0100 Subject: [PATCH] Tidy up doc of QLocale::setDefault() Separate out the brief one-line summary. Reflow. Change-Id: Ib1edfc3db9f2f54bbc00be993efff2a520436d89 Reviewed-by: Volker Hilsheimer Reviewed-by: Thiago Macieira --- src/corelib/text/qlocale.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/corelib/text/qlocale.cpp b/src/corelib/text/qlocale.cpp index 0f7d9f54154..09226e97992 100644 --- a/src/corelib/text/qlocale.cpp +++ b/src/corelib/text/qlocale.cpp @@ -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() */