mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 22:26:32 +02:00
Force Auto & Station icons to be rendered big enough for HiDPI displays.
This commit is contained in:
@@ -518,9 +518,9 @@ QPixmap
|
|||||||
DynamicWidget::pixmap() const
|
DynamicWidget::pixmap() const
|
||||||
{
|
{
|
||||||
if ( m_playlist->mode() == OnDemand )
|
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 )
|
else if ( m_playlist->mode() == Static )
|
||||||
return TomahawkUtils::defaultPixmap( TomahawkUtils::AutomaticPlaylist );
|
return TomahawkUtils::defaultPixmap( TomahawkUtils::AutomaticPlaylist, TomahawkUtils::Original, QSize( 256, 256 ) );
|
||||||
else
|
else
|
||||||
return QPixmap();
|
return QPixmap();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user