QTfrontend/util/DataManager.cpp
changeset 7824 3df73ec7fcf2
parent 7681 26978d581070
child 7928 88fde28bbda6
--- a/QTfrontend/util/DataManager.cpp	Fri Oct 26 17:05:12 2012 +0200
+++ b/QTfrontend/util/DataManager.cpp	Fri Oct 26 17:21:28 2012 +0200
@@ -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()