mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-17 03:45:56 +01:00
Use update(), not repaint()
This commit is contained in:
parent
6c18691755
commit
5c2364ee25
@ -339,7 +339,7 @@ bool NowPlayingWidget::show_above_status_bar() const {
|
|||||||
void NowPlayingWidget::AllHail(bool hypnotoad) {
|
void NowPlayingWidget::AllHail(bool hypnotoad) {
|
||||||
if (hypnotoad) {
|
if (hypnotoad) {
|
||||||
hypnotoad_ = new QMovie(kHypnotoadPath, QByteArray(), this);
|
hypnotoad_ = new QMovie(kHypnotoadPath, QByteArray(), this);
|
||||||
connect(hypnotoad_, SIGNAL(updated(const QRect&)), SLOT(repaint()));
|
connect(hypnotoad_, SIGNAL(updated(const QRect&)), SLOT(update()));
|
||||||
hypnotoad_->start();
|
hypnotoad_->start();
|
||||||
update();
|
update();
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user