QTfrontend/util/DataManager.cpp
branch0.9.18
changeset 7884 60132c558c05
parent 7824 3df73ec7fcf2
child 7928 88fde28bbda6
--- a/QTfrontend/util/DataManager.cpp	Fri Oct 26 14:13:09 2012 +0100
+++ b/QTfrontend/util/DataManager.cpp	Mon Oct 29 21:46:50 2012 +0100
@@ -201,11 +201,9 @@
 
 void DataManager::reload()
 {
-    m_gameStyleModel->loadGameStyles();
-    m_hatModel->loadHats();
-    m_mapModel->loadMaps();
-    m_themeModel->loadThemes();
-    emit updated();
+    // removed for now (also code was a bit unclean, could lead to segfault if
+    // reload() is called before all members are initialized - because currently
+    // they are initialized in the getter methods rather than the constructor)
 }
 
 void DataManager::resetColors()