summaryrefslogtreecommitdiff
path: root/daemon/daemon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/daemon.cpp')
-rw-r--r--daemon/daemon.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/daemon/daemon.cpp b/daemon/daemon.cpp
index 80ae667..c9456c6 100644
--- a/daemon/daemon.cpp
+++ b/daemon/daemon.cpp
@@ -78,17 +78,11 @@ int main(int argc, char *argv[])
Log4Qt::Logger::logger(QLatin1String("Main Logger"))->info() << argv[0] << APP_VERSION;
Settings settings;
- watch::WatchConnector watch;
- DBusConnector dbus;
- VoiceCallManager voice(&settings);
- NotificationManager notifications(&settings);
- AppManager apps(&settings);
- Manager manager(&watch, &dbus, &voice, &notifications, &apps, &settings);
+ Manager manager(&settings);
+ Q_UNUSED(manager);
signal(SIGINT, signalhandler);
signal(SIGTERM, signalhandler);
- QObject::connect(&app, SIGNAL(aboutToQuit()), &watch, SLOT(endPhoneCall()));
- QObject::connect(&app, SIGNAL(aboutToQuit()), &watch, SLOT(disconnect()));
return app.exec();
}