diff options
author | Mikko Gronoff <mikko.gronoff@qt.io> | 2017-12-04 12:48:56 +0200 |
---|---|---|
committer | Mikko Gronoff <mikko.gronoff@qt.io> | 2017-12-04 12:49:37 +0200 |
commit | b5eea82532059738a7da751222ebef68539508f1 (patch) | |
tree | c6dad2476eed9ffb29076a51c928baf2ce500c10 /src/imports/bluetoothsettings/plugin.cpp | |
parent | 61e9e8c83e817b3692beae03bd8e683d247207b0 (diff) | |
parent | 724309463d63480ca755d5f309825a9dd078d012 (diff) |
Merge remote-tracking branch 'origin/5.9' into 5.10
* origin/5.9:
Fix compilation with namespaces
Import only available modules
Update license headers
Verify that Qtdbus module is available
tests: add tests.pro for CI
Doc: Bump version to 5.9.3
Conflicts:
.qmake.conf
Change-Id: I83f4f8a507586d50423d0a2bb1dd4b69557b38ed
Diffstat (limited to 'src/imports/bluetoothsettings/plugin.cpp')
-rw-r--r-- | src/imports/bluetoothsettings/plugin.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/imports/bluetoothsettings/plugin.cpp b/src/imports/bluetoothsettings/plugin.cpp index cd2cfcf..6c5fcf1 100644 --- a/src/imports/bluetoothsettings/plugin.cpp +++ b/src/imports/bluetoothsettings/plugin.cpp @@ -107,6 +107,9 @@ \sa requestConnect() */ + +QT_BEGIN_NAMESPACE + template <typename T> QObject *instance(QQmlEngine *engine, QJSEngine *) { T *t = new T(engine); @@ -128,4 +131,6 @@ public: } }; +QT_END_NAMESPACE + #include "plugin.moc" |