diff options
author | Peter Hartmann <phartmann@rim.com> | 2012-10-12 09:55:12 (GMT) |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-10-14 08:56:33 (GMT) |
commit | 13e58608d1e139bc5b10489cf0161798d4c93e43 (patch) | |
tree | 5264571bc67ac2884ecd0fe92e9d82fffadea5d0 /src/plugins/platforms/blackberry | |
parent | e25f67d3e6ba6aa24a355010e0dc3baadbbacb8b (diff) | |
download | Qt-13e58608d1e139bc5b10489cf0161798d4c93e43.zip Qt-13e58608d1e139bc5b10489cf0161798d4c93e43.tar.gz Qt-13e58608d1e139bc5b10489cf0161798d4c93e43.tar.bz2 |
Blackberry platform plugin: Open locale object read-only
We only use that PPS object for reading.
In Qt5 this file is not used anymore.
Change-Id: Ibdfd74f7b7a065ade45b275cb12dd67ddecd0736
Patch-by: Nick Ratelle
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/plugins/platforms/blackberry')
-rw-r--r-- | src/plugins/platforms/blackberry/qbblocalethread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/blackberry/qbblocalethread.cpp b/src/plugins/platforms/blackberry/qbblocalethread.cpp index 717dadc..2ee3946 100644 --- a/src/plugins/platforms/blackberry/qbblocalethread.cpp +++ b/src/plugins/platforms/blackberry/qbblocalethread.cpp @@ -81,7 +81,7 @@ void QBBLocaleThread::run() // open connection to Locale errno = 0; - mFd = open(NAV_CONTROL_PATH, O_RDWR); + mFd = open(NAV_CONTROL_PATH, O_RDONLY); if (mFd == -1) { qWarning("QBB: failed to open Locale pps, errno=%d", errno); return; |