diff options
author | Alex Blasche <alexander.blasche@qt.io> | 2018-08-27 14:07:46 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@qt.io> | 2018-08-28 10:53:47 +0000 |
commit | 77c3c1427d240c9d17534583218b850f73352b12 (patch) | |
tree | a14a72ac6ca2a60f693f28b2edb25d86d7936789 /src/bluetooth | |
parent | fcf1f30d5fc541a15f0dd4df40a1869630aa3478 (diff) |
qRegisterMetaType for QBluetoothServiceInfo
Android internals seem to require it. All other existing test related
registrations are removed as they are obsolete after this patch.
Change-Id: I49aa3b79bdc8ca5f463f4f7a88cbb612db39d15e
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/bluetooth')
-rw-r--r-- | src/bluetooth/qbluetoothserviceinfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetoothserviceinfo.cpp b/src/bluetooth/qbluetoothserviceinfo.cpp index d98e616f..9da1cf78 100644 --- a/src/bluetooth/qbluetoothserviceinfo.cpp +++ b/src/bluetooth/qbluetoothserviceinfo.cpp @@ -346,6 +346,7 @@ bool QBluetoothServiceInfo::unregisterService() QBluetoothServiceInfo::QBluetoothServiceInfo() : d_ptr(QSharedPointer<QBluetoothServiceInfoPrivate>::create()) { + qRegisterMetaType<QBluetoothServiceInfo>(); } /*! |