mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 13:47:26 +02:00
* Disable stats loading for artists.
This commit is contained in:
@@ -60,9 +60,6 @@ ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget*
|
|||||||
m_headerWidget = new BasicHeader;
|
m_headerWidget = new BasicHeader;
|
||||||
ui->setupUi( m_widget );
|
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 ) ) );
|
m_pixmap = TomahawkUtils::defaultPixmap( TomahawkUtils::DefaultArtistImage, TomahawkUtils::Original, scaled( QSize( 48, 48 ) ) );
|
||||||
ui->cover->setPixmap( TomahawkUtils::defaultPixmap( TomahawkUtils::DefaultArtistImage, TomahawkUtils::Grid, ui->cover->size() ) );
|
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
|
void
|
||||||
ArtistInfoWidget::onArtistImageUpdated()
|
ArtistInfoWidget::onArtistImageUpdated()
|
||||||
{
|
{
|
||||||
|
@@ -96,7 +96,6 @@ protected:
|
|||||||
bool eventFilter( QObject* obj, QEvent* event );
|
bool eventFilter( QObject* obj, QEvent* event );
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void onArtistStatsLoaded();
|
|
||||||
void onArtistImageUpdated();
|
void onArtistImageUpdated();
|
||||||
void onBiographyLoaded();
|
void onBiographyLoaded();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user