QTfrontend/gameuiconfig.cpp
changeset 4817 cd7ef863afca
parent 4809 9c7d5f802618
child 4844 20b81fafd236
--- a/QTfrontend/gameuiconfig.cpp	Tue Jan 04 22:33:20 2011 +0300
+++ b/QTfrontend/gameuiconfig.cpp	Tue Jan 04 18:26:54 2011 -0500
@@ -93,7 +93,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");