mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-20 16:02:07 +02:00
Force Auto & Station icons to be rendered big enough for HiDPI displays.
This commit is contained in:
parent
8dfc564956
commit
41cc799b76
@ -518,9 +518,9 @@ QPixmap
|
||||
DynamicWidget::pixmap() const
|
||||
{
|
||||
if ( m_playlist->mode() == OnDemand )
|
||||
return TomahawkUtils::defaultPixmap( TomahawkUtils::Station );
|
||||
return TomahawkUtils::defaultPixmap( TomahawkUtils::Station, TomahawkUtils::Original, QSize( 256, 256 ) );
|
||||
else if ( m_playlist->mode() == Static )
|
||||
return TomahawkUtils::defaultPixmap( TomahawkUtils::AutomaticPlaylist );
|
||||
return TomahawkUtils::defaultPixmap( TomahawkUtils::AutomaticPlaylist, TomahawkUtils::Original, QSize( 256, 256 ) );
|
||||
else
|
||||
return QPixmap();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user