Open rom1504 opened 9 years ago
An other way : change the update procedure : instead of removing xml files, let series get loaded and start the update procedure when needed.
It would be needed to make an "update" function in Series or something like that.
The cleaner way is probably to use http://qt-project.org/doc/qt-5/qsortfilterproxymodel.html .
This come from the fact that the name of the series is read only when the xml files have been downloaded. And updated series get their cache xml files deleted so they need to load it (asynchronously) from the API. So the name is still unknown when the Series* is loaded in a SeriesList which places the Series* based on its name.
Ways to solve this :