1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-30 17:20:26 +02:00

white out background behind fading

This commit is contained in:
Leo Franchi
2011-02-27 14:30:23 -05:00
parent dae300481e
commit 0e730f91f3

View File

@@ -300,7 +300,7 @@ DynamicView::paintEvent( QPaintEvent* event )
bg.moveTo( m_fadingPointAnchor ); // cover up the background
if( m_fadebg ) {
p.save();
p.fillRect( bg, Qt::white );
p.setOpacity( 1 - m_fadeOutAnim.currentValue() );
}
p.drawPixmap( bg, m_bg );