summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qlocale.cpp
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-06-09 08:51:26 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-06-09 08:51:56 (GMT)
commit91ceb21d1d5f6447a47853b6625fb51d2f21cf16 (patch)
tree5148e804a2d1bc8e794d8565bd81606f0bac29e0 /src/corelib/tools/qlocale.cpp
parent662d1db6ee1a78c298acc11e7528e73c0415fc75 (diff)
downloadQt-91ceb21d1d5f6447a47853b6625fb51d2f21cf16.zip
Qt-91ceb21d1d5f6447a47853b6625fb51d2f21cf16.tar.gz
Qt-91ceb21d1d5f6447a47853b6625fb51d2f21cf16.tar.bz2
small refactoring to reduce memory usage of static data
Diffstat (limited to 'src/corelib/tools/qlocale.cpp')
-rw-r--r--src/corelib/tools/qlocale.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qlocale.cpp b/src/corelib/tools/qlocale.cpp
index 00132d7..4898e10 100644
--- a/src/corelib/tools/qlocale.cpp
+++ b/src/corelib/tools/qlocale.cpp
@@ -772,7 +772,7 @@ QVariant QSystemLocale::query(QueryType type, QVariant in = QVariant()) const
Instead it can return a "Windows code". This maps windows codes to ISO country names. */
struct WindowsToISOListElt {
- int windows_code;
+ ushort windows_code;
char iso_name[6];
};