summaryrefslogtreecommitdiffstats
path: root/util
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 /util
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 'util')
-rwxr-xr-xutil/local_database/qlocalexml2cpp.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/local_database/qlocalexml2cpp.py b/util/local_database/qlocalexml2cpp.py
index af6da33..d625cfd 100755
--- a/util/local_database/qlocalexml2cpp.py
+++ b/util/local_database/qlocalexml2cpp.py
@@ -318,7 +318,7 @@ def main():
print
# Locale index
- print "static const uint locale_index[] = {"
+ print "static const quint16 locale_index[] = {"
print " 0, // unused"
index = 0
for key in language_map.keys():
@@ -454,7 +454,7 @@ def main():
print
# Language name index
- print "static const uint language_name_index[] = {"
+ print "static const quint16 language_name_index[] = {"
print " 0, // Unused"
index = 8
for key in language_map.keys():
@@ -477,7 +477,7 @@ def main():
print
# Country name index
- print "static const uint country_name_index[] = {"
+ print "static const quint16 country_name_index[] = {"
print " 0, // AnyCountry"
index = 8
for key in country_map.keys():