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:
parent
e103a202eb
commit
b2ebd1adcb
@ -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 ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user