QTfrontend/ui/page/pageeditteam.cpp
changeset 9738 18bb6d1fc9d9
parent 9511 1be565d7b4b7
child 9998 736015b847e3
equal deleted inserted replaced
9737:f0769402350c 9738:18bb6d1fc9d9
   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