diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2010-01-20 13:56:37 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2010-02-12 18:18:34 (GMT) |
commit | 8911ed8bfe7f918b93c758f9b5d93274b37739e6 (patch) | |
tree | f6af60e6cc4cc19d3c0aa3454b8a858ee231ba9f /mkspecs | |
parent | 15825196f5ba37f27c4a2e877e1c782407faece0 (diff) | |
download | Qt-8911ed8bfe7f918b93c758f9b5d93274b37739e6.zip Qt-8911ed8bfe7f918b93c758f9b5d93274b37739e6.tar.gz Qt-8911ed8bfe7f918b93c758f9b5d93274b37739e6.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).
Reviewed-by: Thiago Macieira
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions