summaryrefslogtreecommitdiffstats
path: root/app/main.cpp
diff options
context:
space:
mode:
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();
}