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