diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-03-22 12:53:07 -0700 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-04-04 12:10:38 -0700 |
commit | 2509e623a5f95a612a715818f15daddf2ca77f12 (patch) | |
tree | 56b4e99f30405924cbc2dd521bff46cf52778e67 | |
parent | 4e2fa7ef659a2a8c5894a4856ce043a73249e323 (diff) |
homescreen: bluetooth: change constructor call for Bluetooth classguppy_7.0.4guppy_7.0.3guppy_7.0.2guppy_7.0.1guppy/7.0.4guppy/7.0.3guppy/7.0.2guppy/7.0.17.0.47.0.37.0.27.0.1guppy
The constructor needs the local applications QML context pointer for
the Bluetooth libqtappfw access.
Bug-AGL: SPEC-2270 SPEC-2290
Change-Id: Ib694d310656261a0a90d72a879fd33551155baa9
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
-rw-r--r-- | homescreen/src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/homescreen/src/main.cpp b/homescreen/src/main.cpp index 939577f..5f283fb 100644 --- a/homescreen/src/main.cpp +++ b/homescreen/src/main.cpp @@ -139,7 +139,7 @@ int main(int argc, char *argv[]) engine.rootContext()->setContextProperty("homescreenHandler", homescreenHandler); engine.rootContext()->setContextProperty("launcher", launcher); engine.rootContext()->setContextProperty("weather", new Weather(bindingAddress)); - engine.rootContext()->setContextProperty("bluetooth", new Bluetooth(bindingAddress)); + engine.rootContext()->setContextProperty("bluetooth", new Bluetooth(bindingAddress, engine.rootContext())); engine.rootContext()->setContextProperty("screenInfo", &screenInfo); engine.load(QUrl(QStringLiteral("qrc:/main.qml"))); |