diff options
author | El Mehdi Fekari <mfekari@blackberry.com> | 2013-11-14 16:17:31 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-20 10:33:04 +0100 |
commit | 1e446fc99167a992b1a8342168b6254f43b097fe (patch) | |
tree | c6d0af6eb91640ba9094309ec833e72c018dd40a /util/accessibilityinspector | |
parent | 711d0a16580022d9f38a782f269f5cc3af0f3af7 (diff) |
QLocale: Avoid a deadlock in error case
QBBSystemLocaleData emits qwarnings when it fails to open or read a pps object.
If the user code installs a message handler that will invoke QLocale API again
(i.e QDate, QDateTime, ...) which leads to a deadlock situation, since
the QBBSystemLocaleData global static object's ctor() is not yet done.
This patch logs the QBBSystemLocale's warnings to stderr and
skips the Qt message handler.
Change-Id: I3d51f85761253e09b14a44179dd14a887733b392
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Diffstat (limited to 'util/accessibilityinspector')
0 files changed, 0 insertions, 0 deletions