diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2019-11-08 11:08:35 +0000 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2019-11-08 11:08:35 +0000 |
commit | 0bdd39b247661c1a0406d450d578d4ff3fd171b0 (patch) | |
tree | 43b6f217b728042fd7848b96d7574e07800611b1 /homescreen/src/main.cpp | |
parent | f3de2f5cad06a772ee55f58694d559a7cb012c02 (diff) |
Revert "Add push to talk support to homescreen"
It turned out the homescreen won't show. So we need to revisit this patch.
https://gerrit.automotivelinux.org/gerrit/#/c/apps/homescreen/+/21182/
This reverts commit f3de2f5cad06a772ee55f58694d559a7cb012c02.
Change-Id: Ic8829e5009e9fb74b49ad1dd79125b45a872a838
Diffstat (limited to 'homescreen/src/main.cpp')
-rw-r--r-- | homescreen/src/main.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/homescreen/src/main.cpp b/homescreen/src/main.cpp index 5c819f9..5f283fb 100644 --- a/homescreen/src/main.cpp +++ b/homescreen/src/main.cpp @@ -32,7 +32,6 @@ #include "mastervolume.h" #include "homescreenhandler.h" #include "hmi-debug.h" -#include "chromecontroller.h" // XXX: We want this DBus connection to be shared across the different // QML objects, is there another way to do this, a nice way, perhaps? @@ -92,8 +91,6 @@ int main(int argc, char *argv[]) // qmlRegisterType<ApplicationLauncher>("HomeScreen", 1, 0, "ApplicationLauncher"); qmlRegisterType<StatusBarModel>("HomeScreen", 1, 0, "StatusBarModel"); qmlRegisterType<MasterVolume>("MasterVolume", 1, 0, "MasterVolume"); - qmlRegisterUncreatableType<ChromeController>("SpeechChrome", 1, 0, "SpeechChromeController", - QLatin1String("SpeechChromeController is uncreatable.")); ApplicationLauncher *launcher = new ApplicationLauncher(); QLibWindowmanager* layoutHandler = new QLibWindowmanager(); @@ -143,7 +140,6 @@ int main(int argc, char *argv[]) engine.rootContext()->setContextProperty("launcher", launcher); engine.rootContext()->setContextProperty("weather", new Weather(bindingAddress)); engine.rootContext()->setContextProperty("bluetooth", new Bluetooth(bindingAddress, engine.rootContext())); - engine.rootContext()->setContextProperty("speechChromeController", new ChromeController(bindingAddress, &engine)); engine.rootContext()->setContextProperty("screenInfo", &screenInfo); engine.load(QUrl(QStringLiteral("qrc:/main.qml"))); |