equal
deleted
inserted
replaced
256 themesModel->setData(themesModel->index(i), icons[i].first, Qt::DecorationRole); |
256 themesModel->setData(themesModel->index(i), icons[i].first, Qt::DecorationRole); |
257 themesModel->setData(themesModel->index(i), icons[i].second, Qt::UserRole); |
257 themesModel->setData(themesModel->index(i), icons[i].second, Qt::UserRole); |
258 } |
258 } |
259 } |
259 } |
260 |
260 |
261 mapList = new QStringList(dataMgr.entryList( |
|
262 QString("Maps"), |
|
263 QDir::Dirs | QDir::NoDotAndDotDot |
|
264 ) |
|
265 ); |
|
266 |
|
267 scriptList = new QStringList(dataMgr.entryList( |
261 scriptList = new QStringList(dataMgr.entryList( |
268 QString("Scripts/Multiplayer"), |
262 QString("Scripts/Multiplayer"), |
269 QDir::Files, |
263 QDir::Files, |
270 QStringList("*.lua") |
264 QStringList("*.lua") |
271 ) |
265 ) |