diff options
author | 2019-10-17 06:34:09 -0700 | |
---|---|---|
committer | 2019-11-21 16:07:35 -0800 | |
commit | cf12dec6fe37e47ed71e8d28518c0d77040b75f9 (patch) | |
tree | 9c726c89abf2e593cb9781d9a770b9d9b27021c5 /app/main.cpp | |
parent | 26a4ea2554e1830bb69deaf6e1b51d3038c91655 (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')
-rwxr-xr-x | app/main.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/app/main.cpp b/app/main.cpp index aa7768b..cbd121c 100755 --- 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(); } |