1
0
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:
Teo Mrnjavac
2013-07-29 20:05:54 +02:00
parent 8dfc564956
commit 41cc799b76

View File

@@ -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();
} }