MCPcopy Create free account
hub / github.com/YACReader/yacreader / setupFavoritesModelData

Method setupFavoritesModelData

YACReaderLibrary/db/comic_model.cpp:676–691  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

674}
675
676void ComicModel::setupFavoritesModelData(const QString &databasePath)
677{
678 enableResorting = true;
679 mode = Favorites;
680 sourceId = -1;
681
682 beginResetModel();
683 qDeleteAll(_data);
684 _data.clear();
685
686 _databasePath = databasePath;
687
688 takeData(createFavoritesModelData(databasePath));
689
690 endResetModel();
691}
692
693QList<ComicItem *> ComicModel::createReadingModelData(const QString &databasePath) const
694{

Callers 1

loadSpecialListInfoMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected