equal
deleted
inserted
replaced
91 |
91 |
92 QStringList GameUIConfig::GetTeamsList() |
92 QStringList GameUIConfig::GetTeamsList() |
93 { |
93 { |
94 QDir teamdir; |
94 QDir teamdir; |
95 teamdir.cd(cfgdir->absolutePath() + "/Teams"); |
95 teamdir.cd(cfgdir->absolutePath() + "/Teams"); |
96 QStringList teamslist = teamdir.entryList(QStringList("*.hwt")); |
96 QStringList teamslist = teamdir.entryList(QStringList("*.hwt"),QDir::Files|QDir::Hidden); |
97 QStringList cleanedList; |
97 QStringList cleanedList; |
98 for (QStringList::Iterator it = teamslist.begin(); it != teamslist.end(); ++it ) { |
98 for (QStringList::Iterator it = teamslist.begin(); it != teamslist.end(); ++it ) { |
99 QString tmpTeamStr=(*it).replace(QRegExp("^(.*)\\.hwt$"), "\\1"); |
99 QString tmpTeamStr=(*it).replace(QRegExp("^(.*)\\.hwt$"), "\\1"); |
100 cleanedList.push_back(tmpTeamStr); |
100 cleanedList.push_back(tmpTeamStr); |
101 } |
101 } |