summaryrefslogtreecommitdiffstats
path: root/app/main.cpp
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-03-25 13:40:11 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2019-03-25 13:40:11 +0000
commit38a1f8f16281233bedfed3c2a7ad5a6b1598c227 (patch)
tree3d5c75142e72835c29dc4d141f5a978391121773 /app/main.cpp
parent6ade74e43bf322c751b473ecc77df0669aecc2d7 (diff)
parent947c2cfc9203e741fa215af8af5011870972c08b (diff)
Merge "settings: bluetooth: qml: switch from qml ListModel to libqtappfw provided"
Diffstat (limited to 'app/main.cpp')
-rw-r--r--app/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/main.cpp b/app/main.cpp
index 3b39810..8d78b74 100644
--- a/app/main.cpp
+++ b/app/main.cpp
@@ -114,7 +114,7 @@ int main(int argc, char *argv[])
qWarning() << aglversion.errorString();
}
- engine.rootContext()->setContextProperty("bluetooth", new Bluetooth(bindingAddressWS));
+ engine.rootContext()->setContextProperty("bluetooth", new Bluetooth(bindingAddressWS, context));
engine.rootContext()->setContextProperty(QStringLiteral("screenInfo"), &screenInfo);
engine.load(QUrl(QStringLiteral("qrc:/Settings.qml")));
QObject *root = engine.rootObjects().first();