Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/PluginSettings.cpp

Issue 11427013: Appear fast for IE (Closed)
Patch Set: Created Aug. 7, 2013, 5:44 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
@@ -159,6 +155,8 @@
std::map<CString, CString> CPluginSettings::GetFilterLanguageTitleList() const
{
+ CPluginSettings::GetInstance()->m_subscriptions = CPluginClient::GetInstance()->FetchAvailableSubscriptions();
Felix Dahlke 2013/08/07 09:34:49 Why get the settings instance here? We're in a mem
+
std::map<CString, CString> filterList;
for (size_t i = 0; i < m_subscriptions.size(); i ++)
{

Powered by Google App Engine
This is Rietveld