From 32872aa68ef8caa98ead052b91151fbed560e2bb Mon Sep 17 00:00:00 2001 From: Raquel Medina Date: Tue, 3 Dec 2019 23:36:35 +0100 Subject: voice: add voice agents settings page Bug-AGL: SPEC-2981 Signed-off-by: Raquel Medina Change-Id: I8eb6ae44db10039197da406446b5057ae9cb3b50 --- app/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/main.cpp') diff --git a/app/main.cpp b/app/main.cpp index c610cef..b46029c 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -28,6 +28,7 @@ #include #include #include +#include int main(int argc, char *argv[]) { @@ -115,6 +116,7 @@ int main(int argc, char *argv[]) } engine.rootContext()->setContextProperty("bluetooth", new Bluetooth(bindingAddressWS, context)); + engine.rootContext()->setContextProperty("voice", new Voice(bindingAddressWS, context)); engine.rootContext()->setContextProperty(QStringLiteral("screenInfo"), &screenInfo); engine.load(QUrl(QStringLiteral("qrc:/Settings.qml"))); QObject *root = engine.rootObjects().first(); -- cgit 1.2.3-korg