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:
parent
26b227e128
commit
51b1a23aa1
@ -12,7 +12,7 @@
|
||||
|
||||
namespace QTestLocaleChange {
|
||||
|
||||
QLocale resetSystemLocale()
|
||||
inline QLocale resetSystemLocale()
|
||||
{
|
||||
#ifndef QT_NO_SYSTEMLOCALE
|
||||
{ // Transient instance marks system locale data as stale:
|
||||
|
Loading…
Reference in New Issue
Block a user