QTfrontend/util/DataManager.cpp
branchphysfslayer
changeset 7928 88fde28bbda6
parent 7774 27f9b9362f47
parent 7824 3df73ec7fcf2
child 8049 133e22b5c410
--- a/QTfrontend/util/DataManager.cpp	Sun Oct 21 01:28:33 2012 +0400
+++ b/QTfrontend/util/DataManager.cpp	Sat Nov 03 00:34:35 2012 +0400
@@ -171,11 +171,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()