diff options
| author | Tomasz Sterna <tomek@xiaoka.com> | 2015-05-18 09:35:38 +0200 |
|---|---|---|
| committer | Tomasz Sterna <tomek@xiaoka.com> | 2015-05-18 09:39:42 +0200 |
| commit | 7116e096e1288170da3820c77e41e377f9bd69be (patch) | |
| tree | d6f826b7703a388018894033b95d61d745448588 /daemon/manager.cpp | |
| parent | 37bc0ef733843f27eb6228f3ee149094e7f62383 (diff) | |
Save default settings to DConf if not present
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; } |
