diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2010-01-20 13:56:37 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2010-03-17 20:49:11 (GMT) |
commit | 0d3c62150f2fa2c06f7676336076be4622059cc3 (patch) | |
tree | 942db968fe8737631913e15116bb9554f1f22936 /src/network/bearer | |
parent | 41ab4760d0cac439d9dbe26f95cd6327039fbb8e (diff) | |
download | Qt-0d3c62150f2fa2c06f7676336076be4622059cc3.zip Qt-0d3c62150f2fa2c06f7676336076be4622059cc3.tar.gz Qt-0d3c62150f2fa2c06f7676336076be4622059cc3.tar.bz2 |
Optimized QLocale to access system locale on demand.
Changed the initialization of the system locale to make construction of the
QLocale object as lightweight as possible. So now the default contructor just
creates a QLocale and QSystemLocale objects, but doesn't try to fill the cache
in the latter with data from the system and postpones it until it is actually
requested (most applications create QLocale objects on the stack and might not
even use the data from the system locale, so we don't need to initialize system
locale right away).
This is an improved version of an already reverted change
8911ed8bfe7f918b93c758f9b5d93274b37739e6,
8911ed8bfe7f918b93c758f9b5d93274b37739e6 and
8911ed8bfe7f918b93c758f9b5d93274b37739e6.
Reviewed-by: Thiago Macieira
Diffstat (limited to 'src/network/bearer')
0 files changed, 0 insertions, 0 deletions