summaryrefslogtreecommitdiffstats
path: root/app/main.cpp
diff options
context:
space:
mode:
authorRaquel Medina <raquel.medina@konsulko.com>2019-12-03 23:36:35 +0100
committerRaquel Medina <raquel.medina@konsulko.com>2019-12-04 15:57:48 +0100
commit32872aa68ef8caa98ead052b91151fbed560e2bb (patch)
tree81d979036c5eba7ab9eb4ce46661d3cbe96d4189 /app/main.cpp
parent7bba7c7f9fdffe977fef6714fd9c4ea9caae0a4e (diff)
voice: add voice agents settings pageicefish_8.99.2icefish/8.99.28.99.2
Bug-AGL: SPEC-2981 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I8eb6ae44db10039197da406446b5057ae9cb3b50
Diffstat (limited to 'app/main.cpp')
-rw-r--r--app/main.cpp2
1 files changed, 2 insertions, 0 deletions
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 <bluetooth.h>
#include <network.h>
#include <qlibwindowmanager.h>
+#include <voice.h>
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();