comparison include/gui/pages/now_playing.h @ 386:e89901683d72

now_playing: don't reset the timer every 5 seconds ahaha
author Paper <paper@tflc.us>
date Thu, 06 Nov 2025 08:59:44 -0500
parents 27c462bc7815
children
comparison
equal deleted inserted replaced
385:aa38b904de4f 386:e89901683d72
41 class Playing : public QWidget { 41 class Playing : public QWidget {
42 Q_OBJECT 42 Q_OBJECT
43 43
44 public: 44 public:
45 Playing(QWidget* parent = nullptr); 45 Playing(QWidget* parent = nullptr);
46 void SetPlayingAnime(const Anime::Anime& anime, const anitomy::Elements& info); 46 bool SetPlayingAnime(const Anime::Anime& anime, const anitomy::Elements& info);
47 int GetPlayingAnime(); 47 int GetPlayingAnime();
48 int GetPlayingEpisode(); 48 int GetPlayingEpisode();
49 49
50 private: 50 private:
51 int _id = 0; 51 int _id = 0;