1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-16 11:19:18 +01:00

Use update(), not repaint()

This commit is contained in:
John Maguire 2010-07-12 20:00:42 +00:00
parent 6c18691755
commit 5c2364ee25

View File

@ -339,7 +339,7 @@ bool NowPlayingWidget::show_above_status_bar() const {
void NowPlayingWidget::AllHail(bool hypnotoad) {
if (hypnotoad) {
hypnotoad_ = new QMovie(kHypnotoadPath, QByteArray(), this);
connect(hypnotoad_, SIGNAL(updated(const QRect&)), SLOT(repaint()));
connect(hypnotoad_, SIGNAL(updated(const QRect&)), SLOT(update()));
hypnotoad_->start();
update();
} else {