diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2012-07-25 12:57:15 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-31 11:12:58 +0200 |
commit | 8a883d972da3b28d87689c4d4d9c9b5e5b1dcba1 (patch) | |
tree | 9af454a745561dcdc0d0478c410ef58b916ada49 /src/corelib/codecs/qisciicodec.cpp | |
parent | bb3637d33c122a5add502239c57dff8afcc555c8 (diff) |
Do not preload any codecs anymore when using ICU
When using ICU we can now avoid pre loading any codecs
at startup. Instead QTextCodecs will always be created
lazily when first asked for.
Change-Id: Ic668f2824700896d2eca7d0de54f978404826163
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/codecs/qisciicodec.cpp')
-rw-r--r-- | src/corelib/codecs/qisciicodec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/codecs/qisciicodec.cpp b/src/corelib/codecs/qisciicodec.cpp index 1e5d5128fb..d760d1e380 100644 --- a/src/corelib/codecs/qisciicodec.cpp +++ b/src/corelib/codecs/qisciicodec.cpp @@ -74,7 +74,7 @@ static const Codecs codecs [] = { QTextCodec *QIsciiCodec::create(const char *name) { for (int i = 0; i < 9; ++i) { - if (!qstricmp(name, codecs[i].name)) + if (qTextCodecNameMatch(name, codecs[i].name)) return new QIsciiCodec(i); } return 0; |