--- a/QTfrontend/ui/page/pagegamestats.cpp Sun Aug 26 17:59:26 2018 +0200
+++ b/QTfrontend/ui/page/pagegamestats.cpp Sun Aug 26 20:50:51 2018 +0200
@@ -299,17 +299,7 @@
}
case 'T': // local team stats
{
- //AddStatText("<p>local team: " + info + "</p>");
- QStringList infol = info.split(":");
- HWTeam team(infol[0]);
- if(team.fileExists()) // do some better test to avoid influence from scripted/predefined teams?
- {
- team.loadFromFile();
- team.incRounds();
- if(infol[1].toInt() > 0) // might require some better test for winning condition (or changed flag) ... WIP!
- team.incWins(); // should draws count as wins?
- //team.SaveToFile(); // don't save yet
- }
+ // unused
break;
}
case 'p' :