1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-21 00:12:06 +02:00

* Default TreeModel icon is now the collection image.

This commit is contained in:
Christian Muehlhaeuser 2014-09-02 05:58:05 +02:00
parent 2e6e96fdcc
commit 0998a69c59

View File

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