Frontend:
authorsmaxx
Mon, 23 Aug 2010 17:53:02 +0200
changeset 3759 f352e9dcf516
parent 3758 80007c41c35e
child 3760 d30f1ba768d7
Frontend: * Forgot to update team search to new extension
QTfrontend/gameuiconfig.cpp
--- 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;