diff options
author | Rafael Roquetto <rafael.roquetto.qnx@kdab.com> | 2013-01-09 17:49:08 -0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-14 16:28:21 +0100 |
commit | 791eb399d2a4c585352930b7b6757a4b29ddda9d (patch) | |
tree | 43b6ba3c164c03c509460bb0f024df5b1cd8b757 /src/corelib/tools/qlocale_p.h | |
parent | d5257644302e349fec8df5750d100fd4918ddd6b (diff) |
Split QQNXLocaleData::readPPSLocale()
Because this method creates a QSocketNotifier, it needs
to be split into a part that is run on initialization, namely
QQNXLocaleData::initialize(), and one that is run delayed
through event loop invocation, namely QQNXLocaleData::installSocketNotifier().
Task-number: QTBUG-28701
Change-Id: Ib60000902692bbca4820d3d0bc7719212668dfa9
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/corelib/tools/qlocale_p.h')
-rw-r--r-- | src/corelib/tools/qlocale_p.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/corelib/tools/qlocale_p.h b/src/corelib/tools/qlocale_p.h index 65201374a9..ca1b6f8b07 100644 --- a/src/corelib/tools/qlocale_p.h +++ b/src/corelib/tools/qlocale_p.h @@ -380,10 +380,13 @@ class QQNXLocaleData: public QObject public: QQNXLocaleData(); virtual ~QQNXLocaleData(); - void readPPSLocale(); public Q_SLOTS: void updateMeasurementSystem(); + void installSocketNotifier(); + +private: + void initialize(); public: uint ppsMeasurement; |