Inline the resetSystemLocale function

It's used from three different tests so it can only have one
definition, but when batching it has three of them.

Task-number: QTBUG-109954
Change-Id: Idfddd313a1fe447968066118529527e3d4214823
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Mikolaj Boc 2023-01-12 14:41:44 +01:00
parent 26b227e128
commit 51b1a23aa1

View File

@ -12,7 +12,7 @@
namespace QTestLocaleChange {
QLocale resetSystemLocale()
inline QLocale resetSystemLocale()
{
#ifndef QT_NO_SYSTEMLOCALE
{ // Transient instance marks system locale data as stale: