QTfrontend/gameuiconfig.cpp
branchexperimental3D
changeset 4844 20b81fafd236
parent 4812 f924be23ffb4
parent 4817 cd7ef863afca
child 4976 088d40d8aba2
--- a/QTfrontend/gameuiconfig.cpp	Sun Jan 16 05:21:00 2011 +0100
+++ b/QTfrontend/gameuiconfig.cpp	Mon Jan 17 01:43:10 2011 +0100
@@ -94,7 +94,7 @@
 {
     QDir teamdir;
     teamdir.cd(cfgdir->absolutePath() + "/Teams");
-    QStringList teamslist = teamdir.entryList(QStringList("*.hwt"));
+    QStringList teamslist = teamdir.entryList(QStringList("*.hwt"),QDir::Files|QDir::Hidden);
     QStringList cleanedList;
     for (QStringList::Iterator it = teamslist.begin(); it != teamslist.end(); ++it ) {
             QString tmpTeamStr=(*it).replace(QRegExp("^(.*)\\.hwt$"), "\\1");