QTfrontend/ui/page/pageeditteam.cpp
branchwebgl
changeset 9950 2759212a27de
parent 9738 18bb6d1fc9d9
child 9998 736015b847e3
equal deleted inserted replaced
9521:8054d9d775fd 9950:2759212a27de
   209 
   209 
   210 void PageEditTeam::lazyLoad()
   210 void PageEditTeam::lazyLoad()
   211 {
   211 {
   212     if(m_loaded) return;
   212     if(m_loaded) return;
   213     m_loaded = true;
   213     m_loaded = true;
   214     qDebug("[LAZYNESS] PageEditTeam::lazyLoad()");
   214     qDebug("[LAZINESS] PageEditTeam::lazyLoad()");
       
   215 
       
   216     HatModel * hatsModel = DataManager::instance().hatModel();
       
   217     for(int i = 0; i < HEDGEHOGS_PER_TEAM; i++)
       
   218         HHHats[i]->setModel(hatsModel);
       
   219 
   215 
   220 
   216     QRegExp pngSuffix("\\.png$");
   221     QRegExp pngSuffix("\\.png$");
   217     DataManager & dataMgr = DataManager::instance();
   222     DataManager & dataMgr = DataManager::instance();
   218     QStringList list;
   223     QStringList list;
   219 
   224