diff options
author | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-11-27 10:19:02 +0100 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@theqtcompany.com> | 2015-11-30 11:06:41 +0000 |
commit | 741f5e26cd618aeff349dd612516148b50c85dde (patch) | |
tree | 99d1f78443a2dc34b6b3fcce32e46f2c9834a4aa /src/bluetooth/qlowenergycontroller_p.cpp | |
parent | 2d9c73c35b99453f8f36f9dcc4a4f6a8856d7877 (diff) |
Don't register meta types during static init time5.5
The QMetaType register my not be up and running by the time
we attempt these meta type registration.
Change-Id: I1a857a936a24b4b00a49574fac311c08c09b3d5a
Task-number: QTBUG-49455
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/bluetooth/qlowenergycontroller_p.cpp')
-rw-r--r-- | src/bluetooth/qlowenergycontroller_p.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bluetooth/qlowenergycontroller_p.cpp b/src/bluetooth/qlowenergycontroller_p.cpp index b3c718b5..79addae2 100644 --- a/src/bluetooth/qlowenergycontroller_p.cpp +++ b/src/bluetooth/qlowenergycontroller_p.cpp @@ -40,6 +40,7 @@ QLowEnergyControllerPrivate::QLowEnergyControllerPrivate() state(QLowEnergyController::UnconnectedState), error(QLowEnergyController::NoError) { + registerQLowEnergyControllerMetaType(); } QLowEnergyControllerPrivate::~QLowEnergyControllerPrivate() |