Index: src/plugin/PluginSettings.cpp |
=================================================================== |
--- a/src/plugin/PluginSettings.cpp |
+++ b/src/plugin/PluginSettings.cpp |
@@ -93,10 +93,6 @@ |
if (!s_instance) |
{ |
s_instance = new CPluginSettings(); |
-#ifdef USE_CONSOLE |
- CONSOLE("Fetching Available Subscription\n"); |
-#endif |
- CPluginSettings::GetInstance()->m_subscriptions = CPluginClient::GetInstance()->FetchAvailableSubscriptions(); |
} |
instance = s_instance; |
@@ -157,8 +153,10 @@ |
} |
-std::map<CString, CString> CPluginSettings::GetFilterLanguageTitleList() const |
+std::map<CString, CString> CPluginSettings::GetFilterLanguageTitleList() |
{ |
+ m_subscriptions = CPluginClient::GetInstance()->FetchAvailableSubscriptions(); |
Wladimir Palant
2013/08/13 09:41:02
This should be a local variable, no point keeping
|
+ |
std::map<CString, CString> filterList; |
for (size_t i = 0; i < m_subscriptions.size(); i ++) |
{ |