mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-08 23:26:40 +02:00
* Use new spinner integration API.
This commit is contained in:
@@ -58,7 +58,7 @@ SearchWidget::SearchWidget( const QString& search, QWidget* parent )
|
|||||||
|
|
||||||
TomahawkUtils::unmarginLayout( ui->verticalLayout );
|
TomahawkUtils::unmarginLayout( ui->verticalLayout );
|
||||||
|
|
||||||
ui->resultsView->loadingSpinner()->fadeIn();
|
m_resultsModel->startLoading();
|
||||||
m_queries << Tomahawk::Query::get( search, uuid() );
|
m_queries << Tomahawk::Query::get( search, uuid() );
|
||||||
|
|
||||||
ui->splitter_2->setStretchFactor( 0, 0 );
|
ui->splitter_2->setStretchFactor( 0, 0 );
|
||||||
@@ -156,5 +156,5 @@ SearchWidget::onArtistsFound( const QList<Tomahawk::artist_ptr>& artists )
|
|||||||
void
|
void
|
||||||
SearchWidget::onQueryFinished()
|
SearchWidget::onQueryFinished()
|
||||||
{
|
{
|
||||||
ui->resultsView->loadingSpinner()->fadeOut();
|
m_resultsModel->finishLoading();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user