From ca2db695f1258e0b325c7454a8f79c6d7b2eb48b Mon Sep 17 00:00:00 2001 From: Matt Ranostay Date: Thu, 17 Oct 2019 06:34:09 -0700 Subject: 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 --- app/main.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'app/main.cpp') 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 #include #include -#include #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(root); QObject::connect(window, SIGNAL(frameSwapped()), qwmHandler, SLOT(slotActivateSurface())); - QObject *map = engine.rootObjects().first()->findChild("map"); - DBus_Server dbus(map); - dbus_server_navigationcore dbus_navigationcore(map); return app.exec(); } -- cgit 1.2.3-korg