1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-10-05 01:52:28 +02:00

* Show loading spinner and emptiness tooltip on track page.

This commit is contained in:
Christian Muehlhaeuser
2012-06-21 21:12:15 +02:00
parent 408bc713d7
commit 0dc1d6664a
3 changed files with 6 additions and 15 deletions

View File

@@ -186,7 +186,8 @@ TrackInfoWidget::load( const query_ptr& query )
ui->albumLabel->setVisible( !query->album().isEmpty() );
m_relatedTracksModel->clear();
m_relatedTracksModel->startLoading();
if ( !m_query->similarTracks().isEmpty() )
onSimilarTracksLoaded();
}
@@ -244,6 +245,7 @@ void
TrackInfoWidget::onSimilarTracksLoaded()
{
m_relatedTracksModel->append( m_query->similarTracks() );
m_relatedTracksModel->finishLoading();
}