QTfrontend/gameuiconfig.cpp
changeset 3759 f352e9dcf516
parent 3708 64e059b6f9c5
child 3937 494221b5950e
--- 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;