mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #292
This commit is contained in:
parent
6a0cf720c0
commit
aead464974
@ -90,6 +90,7 @@ class BookInfoDisplay(QFrame):
|
||||
class MovieButton(QFrame):
|
||||
def __init__(self, movie, jobs_dialog):
|
||||
QFrame.__init__(self)
|
||||
movie.setCacheMode(QMovie.CacheAll)
|
||||
self.setLayout(QVBoxLayout())
|
||||
self.movie_widget = QLabel()
|
||||
self.movie_widget.setMovie(movie)
|
||||
@ -160,7 +161,6 @@ class StatusBar(QStatusBar):
|
||||
if self.movie_button.movie.state() == QMovie.Running:
|
||||
self.movie_button.movie.jumpToFrame(0)
|
||||
self.movie_button.movie.stop()
|
||||
self.movie_button.movie.jumpToFrame(0)
|
||||
|
||||
if __name__ == '__main__':
|
||||
# Used to create the animated status icon
|
||||
|
Loading…
x
Reference in New Issue
Block a user