--- a/QTfrontend/gameuiconfig.cpp Mon Aug 23 16:29:12 2010 +0200
+++ b/QTfrontend/gameuiconfig.cpp Mon Aug 23 17:53:02 2010 +0200
@@ -93,10 +93,10 @@
{
QDir teamdir;
teamdir.cd(cfgdir->absolutePath() + "/Teams");
- QStringList teamslist = teamdir.entryList(QStringList("*.ini"));
+ QStringList teamslist = teamdir.entryList(QStringList("*.hwt"));
QStringList cleanedList;
for (QStringList::Iterator it = teamslist.begin(); it != teamslist.end(); ++it ) {
- QString tmpTeamStr=(*it).replace(QRegExp("^(.*)\\.ini$"), "\\1");
+ QString tmpTeamStr=(*it).replace(QRegExp("^(.*)\\.hwt$"), "\\1");
cleanedList.push_back(tmpTeamStr);
}
return cleanedList;