From 5419641c1ebe1e8749ad6e78b82c11cbd1bc13b7 Mon Sep 17 00:00:00 2001 From: Crystalwarrior Date: Sun, 15 Sep 2019 02:17:20 +0300 Subject: Revert "2.7.2 way of animating charmovie.cpp ported over" This reverts commit 14ced5ce156eec4974b424fc59e47da948aa080d. --- include/aocharmovie.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'include') diff --git a/include/aocharmovie.h b/include/aocharmovie.h index bc0e30a..f54f510 100644 --- a/include/aocharmovie.h +++ b/include/aocharmovie.h @@ -29,15 +29,12 @@ public: void combo_resize(int w, int h); - void set_frame(QImage image); - private: AOApplication *ao_app; QMovie *m_movie; QVector movie_frames; QTimer *preanim_timer; - QTimer *ticker; const int time_mod = 60; @@ -49,13 +46,11 @@ private: bool play_once = true; - bool preprocess = false; - signals: void done(); private slots: - void movie_ticker(); + void frame_change(int n_frame); void timer_done(); }; -- cgit