QTfrontend/util/DataManager.cpp
changeset 6958 8230a516ba93
parent 6953 4c2dd25630a7
child 6959 fce378ee4191
--- a/QTfrontend/util/DataManager.cpp	Sun Apr 29 16:09:42 2012 +0200
+++ b/QTfrontend/util/DataManager.cpp	Sun Apr 29 17:12:49 2012 +0200
@@ -118,6 +118,15 @@
     return "";
 }
 
+GameStyleModel * DataManager::gameStyleModel()
+{
+    if (m_gameStyleModel == NULL) {
+        m_gameStyleModel = new GameStyleModel();
+        m_gameStyleModel->loadGameStyles();
+    }
+    return m_gameStyleModel;
+}
+
 HatModel * DataManager::hatModel()
 {
     if (m_hatModel == NULL) {