This commit is contained in:
2017-10-30 16:25:01 +01:00
parent 2caa9ddfc3
commit 2980eb488f
20 changed files with 535 additions and 872 deletions
+10
View File
@@ -64,6 +64,16 @@ QList<cEpisode*> cSeason::episodeList()
return(m_episodeList);
}
cEpisode* cSeason::findEpisode(qint16 iNumber)
{
for(int x = 0;x < m_episodeList.count();x++)
{
if(m_episodeList.at(x)->episodeNumber() == iNumber)
return(m_episodeList.at(x));
}
return(0);
}
qint16 cSeason::episodeCount()
{
qint16 iTotal = -1;