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/settings.h | |
| parent | 37bc0ef733843f27eb6228f3ee149094e7f62383 (diff) | |
Save default settings to DConf if not present
Diffstat (limited to 'daemon/settings.h')
| -rw-r--r-- | daemon/settings.h | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/daemon/settings.h b/daemon/settings.h index 3c38473..a247dc5 100644 --- a/daemon/settings.h +++ b/daemon/settings.h @@ -39,8 +39,23 @@ class Settings : public MDConfGroup public: explicit Settings(QObject *parent = 0) : - MDConfGroup("/org/pebbled/settings", parent, BindProperties) - { resolveMetaObject(); } + MDConfGroup("/org/pebbled/settings", parent, BindProperties), + transliterateMessage(false), + useSystemVolume(true), + incomingCallNotification(true), + notificationsCommhistoryd(true), + notificationsMissedCall(true), + notificationsEmails(false), + notificationsMitakuuluu(true), + notificationsTwitter(true), + notificationsFacebook(true), + notificationsOther(true), + notificationsAll(false) + { + resolveMetaObject(); + QMetaObject::invokeMethod(this, "propertyChanged", Qt::DirectConnection); + sync(); + } signals: void profileWhenConnectedChanged(); |
