QTfrontend/ui/page/pageeditteam.cpp
branchwebgl
changeset 9950 2759212a27de
parent 9738 18bb6d1fc9d9
child 9998 736015b847e3
--- a/QTfrontend/ui/page/pageeditteam.cpp	Fri Oct 11 17:43:13 2013 +0200
+++ b/QTfrontend/ui/page/pageeditteam.cpp	Sat Jan 04 23:55:54 2014 +0400
@@ -211,7 +211,12 @@
 {
     if(m_loaded) return;
     m_loaded = true;
-    qDebug("[LAZYNESS] PageEditTeam::lazyLoad()");
+    qDebug("[LAZINESS] PageEditTeam::lazyLoad()");
+
+    HatModel * hatsModel = DataManager::instance().hatModel();
+    for(int i = 0; i < HEDGEHOGS_PER_TEAM; i++)
+        HHHats[i]->setModel(hatsModel);
+
 
     QRegExp pngSuffix("\\.png$");
     DataManager & dataMgr = DataManager::instance();