Mercurial > minori
diff include/gui/pages/anime_list.h @ 320:1b5c04268d6a
services/kitsu: ACTUALLY finish GetAnimeList
there are some things the API just... doesn't provide. therefore
we have to request the genres separately any time a new anime info
box is opened...
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 12 Jun 2024 19:49:19 -0400 |
parents | 8769c5d50b06 |
children |
line wrap: on
line diff
--- a/include/gui/pages/anime_list.h Wed Jun 12 17:52:26 2024 -0400 +++ b/include/gui/pages/anime_list.h Wed Jun 12 19:49:19 2024 -0400 @@ -18,7 +18,7 @@ Q_OBJECT public: - AnimeListPageUpdateEntryThread(AnimeListPage* parent); + AnimeListPageUpdateEntryThread(QObject* parent = nullptr); void AddToQueue(int id); @@ -29,8 +29,7 @@ void run() override; private: - AnimeListPage* page_ = nullptr; - std::mutex _queue_mutex; + std::mutex queue_mutex_; std::queue<int> queue_; };