QTfrontend/main.cpp
changeset 6933 78d194a30520
parent 6930 d187ea93fc4f
child 6937 7f77fa908a4e
equal deleted inserted replaced
6932:005393616925 6933:78d194a30520
   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                                  )