summaryrefslogtreecommitdiffstats
path: root/util/local_database/qlocalexml2cpp.py
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2011-02-15 17:50:38 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2011-02-17 13:33:00 (GMT)
commit8a74c5112aa81c5638b14d8b5285e6ef8474a195 (patch)
treea6cceb01c8163f195c82586f9850cdefdfdffc2c /util/local_database/qlocalexml2cpp.py
parent049cc0e6717f684453d40f78e9ec0e9093df2c1d (diff)
downloadQt-8a74c5112aa81c5638b14d8b5285e6ef8474a195.zip
Qt-8a74c5112aa81c5638b14d8b5285e6ef8474a195.tar.gz
Qt-8a74c5112aa81c5638b14d8b5285e6ef8474a195.tar.bz2
Fixed QString creation for certain cases in QLocale
If the data that was requested is missing from CLDR, then we do not need to try to create QString out of empty data, but return a shared_empty QString instead. i.e. QString::fromRawData(data, 0/*length==0*/) - instead of doing that just return a default constructed QString. Reviewed-by: Zeno Albisser
Diffstat (limited to 'util/local_database/qlocalexml2cpp.py')
0 files changed, 0 insertions, 0 deletions