summaryrefslogtreecommitdiff
path: root/daemon/manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/manager.cpp')
-rw-r--r--daemon/manager.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/daemon/manager.cpp b/daemon/manager.cpp
index bd9fc4a..b47c170 100644
--- a/daemon/manager.cpp
+++ b/daemon/manager.cpp
@@ -120,6 +120,11 @@ void Manager::onActiveVoiceCallChanged()
{
logger()->debug() << "Manager::onActiveVoiceCallChanged()";
+ if (!settings->property("incomingCallNotification").toBool()) {
+ logger()->debug() << "Ignoring ActiveVoiceCallChanged because of setting!";
+ return;
+ }
+
VoiceCallHandler* handler = voice->activeVoiceCall();
if (handler) {
connect(handler, SIGNAL(statusChanged()), SLOT(onActiveVoiceCallStatusChanged()));