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/voicecallmanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'daemon/voicecallmanager.cpp') diff --git a/daemon/voicecallmanager.cpp b/daemon/voicecallmanager.cpp index 21d3d49..419ecff 100644 --- a/daemon/voicecallmanager.cpp +++ b/daemon/voicecallmanager.cpp @@ -29,8 +29,8 @@ public: bool connected; }; -VoiceCallManager::VoiceCallManager(QObject *parent) - : QObject(parent), d_ptr(new VoiceCallManagerPrivate(this)) +VoiceCallManager::VoiceCallManager(Settings *settings, QObject *parent) + : QObject(parent), d_ptr(new VoiceCallManagerPrivate(this)), settings(settings) { Q_D(VoiceCallManager); d->interface = new QDBusInterface("org.nemomobile.voicecall", -- cgit v1.2.3