summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforminputcontexts
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-04-14 15:31:06 -0700
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-05-11 05:13:49 +0200
commitf2a40fa07123748ece2fc93790345379f15ef07f (patch)
treebb157bbcc3fd5113cf238b80b4e38f185793b80c /src/plugins/platforminputcontexts
parentec8102166449b9b323948c0a8f5fabfa38705139 (diff)
Don't assume QLocale::codecForLocale always returns non-null
It may return null during program exit, due to QCoreGlobalData global static already having been destroyed. If that's the case, QTextStream needs to fall back to Latin 1, like QString::toLocal8Bit and fromLocal8Bit already do. Task-number: QTBUG-38316 Change-Id: I5949c8dec15b60f4a13b5d9307ed6abfc799fe20 Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/plugins/platforminputcontexts')
0 files changed, 0 insertions, 0 deletions