Fixes initialization in ctor defects
From: Erik Hovland <erik@hovland.org>
---
mythplugins/mythnews/mythnews/mythnewsconfig.cpp | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/mythplugins/mythnews/mythnews/mythnewsconfig.cpp b/mythplugins/mythnews/mythnews/mythnewsconfig.cpp
index b4402d9..661ec22 100644
|
a
|
b
|
public:
|
| 38 | 38 | // --------------------------------------------------- |
| 39 | 39 | |
| 40 | 40 | MythNewsConfig::MythNewsConfig(MythScreenStack *parent, const char *name) |
| 41 | | : MythScreenType(parent, name) |
| | 41 | : MythScreenType(parent, name), |
| | 42 | m_priv(new MythNewsConfigPriv), m_categoriesList(NULL), |
| | 43 | m_siteList(NULL), m_helpText(NULL), |
| | 44 | m_contextText(NULL), //m_SpinBox(NULL), |
| | 45 | m_updateFreq(gContext->GetNumSetting("NewsUpdateFrequency", 30)) |
| 42 | 46 | { |
| 43 | | m_priv = new MythNewsConfigPriv; |
| 44 | | m_updateFreq = gContext->GetNumSetting("NewsUpdateFrequency", 30); |
| 45 | | |
| 46 | | // m_SpinBox = NULL; |
| 47 | | m_siteList = m_categoriesList = NULL; |
| 48 | | |
| 49 | 47 | populateSites(); |
| 50 | 48 | } |
| 51 | 49 | |