diff options
| author | Crystalwarrior <varsash@gmail.com> | 2020-08-28 15:48:01 +0300 |
|---|---|---|
| committer | Crystalwarrior <varsash@gmail.com> | 2020-08-28 15:48:01 +0300 |
| commit | e2e3b28de8a59057b0bf7b13dbb0e16418a9583e (patch) | |
| tree | 9651ec997c25fb0f3a2e10a0d33af4e3355f52c8 /src/aoscene.cpp | |
| parent | 090e82421d4b0c8c5b3086554f88e7ff613dffdf (diff) | |
Set cache mode to "all" for both QMovie objects to preserve the client's sanity by not horribly lagging them with zoom speedlines and other continuously animated elements.
Diffstat (limited to 'src/aoscene.cpp')
| -rw-r--r-- | src/aoscene.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/aoscene.cpp b/src/aoscene.cpp index 594013a1..78d69acd 100644 --- a/src/aoscene.cpp +++ b/src/aoscene.cpp @@ -7,6 +7,7 @@ AOScene::AOScene(QWidget *parent, AOApplication *p_ao_app) : QLabel(parent) m_parent = parent; ao_app = p_ao_app; m_movie = new QMovie(this); + m_movie->setCacheMode(QMovie::CacheAll); last_image = ""; } |
