From 006d08310e5fafa8b66520318598122603e32d8c Mon Sep 17 00:00:00 2001 From: Tomasz Sterna Date: Fri, 1 Aug 2014 12:57:32 +0200 Subject: Provide Settings object via constructor --- daemon/manager.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'daemon/manager.cpp') diff --git a/daemon/manager.cpp b/daemon/manager.cpp index bdda77b..bd9fc4a 100644 --- a/daemon/manager.cpp +++ b/daemon/manager.cpp @@ -9,8 +9,6 @@ Manager::Manager(watch::WatchConnector *watch, DBusConnector *dbus, VoiceCallMan QObject(0), watch(watch), dbus(dbus), voice(voice), notifications(notifications), commands(new WatchCommands(watch, this)), settings(settings), notification(MNotification::DeviceEvent) { - notifications->setSettings(settings);; - connect(settings, SIGNAL(valueChanged(QString)), SLOT(onSettingChanged(const QString&))); connect(settings, SIGNAL(valuesChanged()), SLOT(onSettingsChanged())); //connect(settings, SIGNAL(silentWhenConnectedChanged(bool)), SLOT(onSilentWhenConnectedChanged(bool))); -- cgit v1.2.3