diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-10-17 06:34:09 -0700 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-11-11 01:05:08 -0800 |
commit | ca2db695f1258e0b325c7454a8f79c6d7b2eb48b (patch) | |
tree | 57a1779ae7e8c4ae6e6946f76e81a81512f7d4e2 /app/main.cpp | |
parent | 7d7a2abc459456aa261f53d1f07ff54a2e6a810a (diff) |
ondemandnavi: remove DBus interface
For proper afb interfae to function the DBus support needs
to be removed.
Bug-AGL: SPEC-2880
Change-Id: Ib501583e5cb3821bf5479d875e447411477c7da3
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'app/main.cpp')
-rw-r--r-- | app/main.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/app/main.cpp b/app/main.cpp index aa7768b..cbd121c 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -27,23 +27,12 @@ #include <QtQml/QQmlContext> #include <QtQuickControls2/QQuickStyle> #include <QQuickWindow> -#include <QtDBus/QDBusConnection> #include "markermodel.h" -#include "dbus_server.h" -#include "dbus_server_navigationcore.h" #include "guidance_module.h" #include "file_operation.h" int main(int argc, char *argv[]) { - - // for dbusIF - if (!QDBusConnection::sessionBus().isConnected()) { - qWarning("Cannot connect to the D-Bus session bus.\n" - "Please check your system settings and try again.\n"); - return 1; - } - QGuiApplication app(argc, argv); QString graphic_role = QString("navigation"); int port = 1700; @@ -108,9 +97,6 @@ int main(int argc, char *argv[]) QObject *root = engine.rootObjects().first(); QQuickWindow *window = qobject_cast<QQuickWindow *>(root); QObject::connect(window, SIGNAL(frameSwapped()), qwmHandler, SLOT(slotActivateSurface())); - QObject *map = engine.rootObjects().first()->findChild<QObject*>("map"); - DBus_Server dbus(map); - dbus_server_navigationcore dbus_navigationcore(map); return app.exec(); } |