diff options
author | Robert Tari <robert@tari.in> | 2021-07-15 01:39:43 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-08-29 14:38:27 +0200 |
commit | 89201d7b7f2f68d7badd9e6966603ea94eda9051 (patch) | |
tree | 83a0d83085090733b36d44587d814cee38720c4f | |
parent | 0898d70491061913fcadfe65d7cf1bf016d6d241 (diff) | |
download | ayatana-indicator-datetime-89201d7b7f2f68d7badd9e6966603ea94eda9051.tar.gz ayatana-indicator-datetime-89201d7b7f2f68d7badd9e6966603ea94eda9051.tar.bz2 ayatana-indicator-datetime-89201d7b7f2f68d7badd9e6966603ea94eda9051.zip |
src/settings-live.cpp: initialise m_settings_cal_notification and m_settings_general_notification to NULL if we are not on Lomiri
-rw-r--r-- | src/settings-live.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/settings-live.cpp b/src/settings-live.cpp index 59c133f..00caa74 100644 --- a/src/settings-live.cpp +++ b/src/settings-live.cpp @@ -78,6 +78,11 @@ LiveSettings::LiveSettings(): update_cal_notification_list(); update_vibrate_silent_mode(); } + else + { + m_settings_cal_notification = NULL; + m_settings_general_notification = NULL; + } // now listen for clients to change the properties s.t. we can sync update GSettings |