Small tweak to filter
authornemo
Tue, 04 Jan 2011 18:26:54 -0500
changeset 4817 cd7ef863afca
parent 4815 f2a3e1a51f4d
child 4819 63011cbaa438
Small tweak to filter
QTfrontend/gameuiconfig.cpp
--- 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");