summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qlocale_blackberry.h
diff options
context:
space:
mode:
authorEl Mehdi Fekari <mfekari@rim.com>2013-03-26 13:47:25 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-26 18:58:29 +0100
commitf1d8987b82ce6b0a852b715a8713608bfd72aabf (patch)
tree9d04a73395d742c4ff0be0869c5518d2ed55dc4e /src/corelib/tools/qlocale_blackberry.h
parent6131f79e4efe60c344547cf4448ec633f1972576 (diff)
Fix a bug in QSystemLocale on BB10
Call qt_safe_open in the constructor to avoid opening the pps files several times. Change-Id: I1bf79284850353a47ee1fc17797cd667536e17b1 Reviewed-by: Peter Hartmann <phartmann@blackberry.com> Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Diffstat (limited to 'src/corelib/tools/qlocale_blackberry.h')
-rw-r--r--src/corelib/tools/qlocale_blackberry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qlocale_blackberry.h b/src/corelib/tools/qlocale_blackberry.h
index 331e5c5c2c..67f403a017 100644
--- a/src/corelib/tools/qlocale_blackberry.h
+++ b/src/corelib/tools/qlocale_blackberry.h
@@ -73,7 +73,7 @@ public Q_SLOTS:
void readHourFormat();
private:
- QByteArray readPpsValue(const char* ppsPath, const char* ppsObject, int* ppsFd);
+ QByteArray readPpsValue(const char* ppsObject, int ppsFd);
QString getCorrectFormat(const QString &baseFormat, QLocale::FormatType typeFormat);
QByteArray lc_langage;