summaryrefslogtreecommitdiffstats
path: root/header.LGPL
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2019-01-21 13:46:11 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2019-01-22 16:42:29 +0000
commit76dfda1ad12cc42cdd832aed1edbe5f76b0cbb2d (patch)
treef2ef5b2392fb9a8e8c24efbe55f971bd78ce7b04 /header.LGPL
parent9818af7d436f7aa1bf5c635041cc5d08fec599b5 (diff)
Use RAII to handle setting of default locale in tst_QString
Various tests were setting the default locale and relying on cleanup() to "restore" the C locale; which needn't actually be the locale we started out in and, in any case, was the wrong locale for some tests. So handle this via an RAII class that records the actual prior locale and restores it on destruction. Fixes: QTBUG-73116 Change-Id: If44f7cb8c6e0ce81be396ac1ea8bab7038a86729 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'header.LGPL')
0 files changed, 0 insertions, 0 deletions