| 222 | } |
| 223 | |
| 224 | void Anime::updateEpTime(const QString &path, qint64 time, bool isFinished) |
| 225 | { |
| 226 | if(!epLoaded) return; |
| 227 | for(auto &e : epInfoList) |
| 228 | { |
| 229 | if(e.localFile==path) |
| 230 | { |
| 231 | if(isFinished) e.finishTime = time; |
| 232 | else e.lastPlayTime = time; |
| 233 | return; |
| 234 | } |
| 235 | } |
| 236 | } |
| 237 | |
| 238 | void Anime::updateEpInfo(const QString &path, const EpInfo &nInfo) |
| 239 | { |
no outgoing calls
no test coverage detected