diff options
Diffstat (limited to 'src/service.cpp')
| -rw-r--r-- | src/service.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/service.cpp b/src/service.cpp index d6b4ed7..251df5b 100644 --- a/src/service.cpp +++ b/src/service.cpp @@ -50,9 +50,9 @@ extern "C" typedef struct { - guint nTempLow; - guint nTempHigh; - const gchar *sName; + guint nTempLow{}; + guint nTempHigh{}; + const gchar *sName = nullptr; } TempProfile; TempProfile m_lTempProfiles[] = @@ -1058,7 +1058,7 @@ private: static_cast<Impl*>(gself)->update_phone_header(); } - GMenuModel* create_phone_menu() + static GMenuModel* create_phone_menu() { GMenu* menu; GMenu* section; |
