comparison include/gui/pages/anime_list.h @ 274:f6a756c19bfb

anime_list.cc: use mutexes so we don't sex the stack strings.cc: use Qt to convert from HTML to plain text.
author Paper <paper@paper.us.eu.org>
date Thu, 18 Apr 2024 17:24:42 -0400
parents f31305b9f60a
children 9a88e1725fd2
comparison
equal deleted inserted replaced
273:f31305b9f60a 274:f6a756c19bfb
23 protected: 23 protected:
24 void run() override; 24 void run() override;
25 25
26 private: 26 private:
27 AnimeListPage* page_ = nullptr; 27 AnimeListPage* page_ = nullptr;
28 std::mutex _queue_mutex;
28 std::queue<int> queue_; 29 std::queue<int> queue_;
29 }; 30 };
30 31
31 class AnimeListPageSortFilter final : public QSortFilterProxyModel { 32 class AnimeListPageSortFilter final : public QSortFilterProxyModel {
32 Q_OBJECT 33 Q_OBJECT