1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-16 11:04:01 +02:00

Force SuperCollection icon to be rendered big enough for HiDPI displays.

This commit is contained in:
Teo Mrnjavac
2013-07-29 19:50:34 +02:00
parent 44a8a7b446
commit 317a88e8c1

View File

@@ -42,7 +42,8 @@ TreeModel::TreeModel( QObject* parent )
: PlayableModel( parent )
, m_mode( DatabaseMode )
{
setIcon( TomahawkUtils::defaultPixmap( TomahawkUtils::SuperCollection ) );
setIcon( TomahawkUtils::defaultPixmap( TomahawkUtils::SuperCollection, TomahawkUtils::Original,
/*big enough for the ViewPage header on retina*/ QSize( 256, 256 ) ) );
connect( AudioEngine::instance(), SIGNAL( started( Tomahawk::result_ptr ) ), SLOT( onPlaybackStarted( Tomahawk::result_ptr ) ), Qt::DirectConnection );
connect( AudioEngine::instance(), SIGNAL( stopped() ), SLOT( onPlaybackStopped() ), Qt::DirectConnection );