diff options
Diffstat (limited to 'app/main.cpp')
-rw-r--r-- | app/main.cpp | 2 |
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(); |