1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 07:49:42 +01:00

* Make sure jump icon fits in the space we're painting.

This commit is contained in:
Christian Muehlhaeuser 2012-06-16 12:20:56 +02:00
parent e103a202eb
commit b2ebd1adcb

View File

@ -482,8 +482,8 @@ QueryLabel::paintEvent( QPaintEvent* event )
if ( m_jumpLinkVisible )
{
r.adjust( 6, 0, 0, 0 );
r.setSize( m_jumpPixmap.size() );
p.drawPixmap( r, m_jumpPixmap );
r.setWidth( r.height() );
p.drawPixmap( r, m_jumpPixmap.scaled( r.size(), Qt::KeepAspectRatio, Qt::SmoothTransformation ) );
}
}