1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-19 04:50:16 +01:00

Remember to pass timer events back down to the baseclass. Fixes issue #258

This commit is contained in:
David Sansome 2010-04-29 15:54:32 +00:00
parent df659ae8f8
commit 3a52920671
2 changed files with 2 additions and 0 deletions

View File

@ -218,6 +218,7 @@ Analyzer::initSin( Scope &v, const uint size ) //static
}
void Analyzer::Base::timerEvent(QTimerEvent* e) {
QWidget::timerEvent(e);
if (e->timerId() != m_timer.timerId())
return;

View File

@ -201,6 +201,7 @@ void PlaylistView::drawRow(QPainter* painter, const QStyleOptionViewItem& option
}
void PlaylistView::timerEvent(QTimerEvent* event) {
QTreeView::timerEvent(event);
if (event->timerId() == glow_timer_.timerId())
GlowIntensityChanged();
}