summaryrefslogtreecommitdiffstats
path: root/app/main.cpp
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2019-11-10 18:23:23 -0800
committerMatt Ranostay <matt.ranostay@konsulko.com>2019-11-11 20:28:23 -0800
commitd01ce33b26daf332d4b8bd9e389e0877c1c38b88 (patch)
treee16486c8baaa36a53cd8db7d6bde153eab8f3c87 /app/main.cpp
parent8f03b833b933fc632284e594cb636877c47b8128 (diff)
tbtnavi: remove dbus navicore client
In order to use new agl-service-navigation the current navicore DBus client needs to be removed. Bug-AGL: SPEC-2880 Change-Id: I4c6eef6c44ec55aa1fd2fc6b73c2cf3aa7fbd51e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'app/main.cpp')
-rw-r--r--app/main.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/app/main.cpp b/app/main.cpp
index d82ca24..43e8586 100644
--- a/app/main.cpp
+++ b/app/main.cpp
@@ -7,24 +7,16 @@
#include <QtQml/QQmlApplicationEngine>
#include <QtQml/QQmlContext>
#include <QtQuick/QQuickWindow>
-#include <QtDBus/QDBusConnection>
#include <qlibwindowmanager.h>
#include <qlibhomescreen.h>
#include "qcheapruler.hpp"
-#include "dbus_client.h"
#include "file_operation.h"
int main(int argc, char *argv[])
{
QString graphic_role = QString("tbtnavi");
- 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);
QCoreApplication::setOrganizationDomain("automotivelinux.org");
QCoreApplication::setOrganizationName("AutomotiveGradeLinux");
@@ -88,12 +80,5 @@ int main(int argc, char *argv[])
QQuickWindow *window = qobject_cast<QQuickWindow *>(root);
QObject::connect(window, SIGNAL(frameSwapped()), qwmHandler, SLOT(slotActivateWindow()));
- // Make the DBus connection info
- QString pathBase = "org.agl.";
- QString objBase = "/org/agl/";
- QString serverName = "naviapi";
- QObject *mapWindow = root->findChild<QObject*>("mapwindow");
- dbus_client dbus(pathBase, objBase, serverName, mapWindow);
-
return app.exec();
}