diff options
Diffstat (limited to 'daemon/manager.cpp')
| -rw-r--r-- | daemon/manager.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/daemon/manager.cpp b/daemon/manager.cpp index e6ebf26..93b6b13 100644 --- a/daemon/manager.cpp +++ b/daemon/manager.cpp @@ -130,8 +130,7 @@ void Manager::onActiveVoiceCallChanged() { qCDebug(l) << "Manager::onActiveVoiceCallChanged()"; - QVariant incomingCallNotification = settings->property("incomingCallNotification"); - if (incomingCallNotification.isValid() && !incomingCallNotification.toBool()) { + if (!settings->property("incomingCallNotification").toBool()) { qCDebug(l) << "Ignoring ActiveVoiceCallChanged because of setting!"; return; } |
