From b8d44d2f6bfd4019d7b794200035bf209487f85d Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Thu, 15 Jul 2021 01:39:43 +0200 Subject: src/settings-live.cpp: initialise m_settings_cal_notification and m_settings_general_notification to NULL if we are not on Lomiri --- src/settings-live.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') 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 -- cgit v1.2.3