equal
deleted
inserted
replaced
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 |