comments about QDates in SeasonParser.cpp

This commit is contained in:
Robb Romans
2009-10-24 20:45:10 -05:00
committed by Sean Rhea
parent 76f89187ba
commit 476aa1b48b

View File

@@ -80,9 +80,10 @@ QDate SeasonParser::seasonDateToDate(QString seasonDate)
return date;
}
else
return QDate(); // return value was 1 Jan: changed to null
return QDate(); // return value was 1 Jan: changed to null
}
bool SeasonParser::endDocument()
{
seasons[seasons.size()-1].setEnd(QDate::currentDate().addYears(10)); //Go 10 years into the future (GC's version of infinity).
// Go 10 years into the future (GC's version of infinity)
seasons[seasons.size()-1].setEnd(QDate::currentDate().addYears(10));
}