1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 07:49:42 +01:00

* Disable stats loading for artists.

This commit is contained in:
Christian Muehlhaeuser 2014-09-26 08:53:44 +02:00
parent 393d0c5240
commit 13cdabdf89
2 changed files with 0 additions and 15 deletions

View File

@ -60,9 +60,6 @@ ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget*
m_headerWidget = new BasicHeader;
ui->setupUi( m_widget );
artist->loadStats();
connect( artist.data(), SIGNAL( statsLoaded() ), SLOT( onArtistStatsLoaded() ) );
m_pixmap = TomahawkUtils::defaultPixmap( TomahawkUtils::DefaultArtistImage, TomahawkUtils::Original, scaled( QSize( 48, 48 ) ) );
ui->cover->setPixmap( TomahawkUtils::defaultPixmap( TomahawkUtils::DefaultArtistImage, TomahawkUtils::Grid, ui->cover->size() ) );
@ -392,17 +389,6 @@ ArtistInfoWidget::onBiographyLoaded()
}
void
ArtistInfoWidget::onArtistStatsLoaded()
{
/* m_playStatsGauge->setValue( m_artist->playbackCount( SourceList::instance()->getLocal() ) );
m_playStatsGauge->setMaximum( SourceList::instance()->getLocal()->playbackCount() ); */
/* m_playStatsGauge->setMaximum( m_artist->chartCount() );
m_playStatsGauge->setValue( m_artist->chartPosition() );*/
}
void
ArtistInfoWidget::onArtistImageUpdated()
{

View File

@ -96,7 +96,6 @@ protected:
bool eventFilter( QObject* obj, QEvent* event );
private slots:
void onArtistStatsLoaded();
void onArtistImageUpdated();
void onBiographyLoaded();