From 393ec8a53d2b1eed8101f782120439c31553bbe1 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Wed, 27 Jun 2012 03:26:27 +0200 Subject: [PATCH] * Use new spinner integration API. --- src/libtomahawk/widgets/SearchWidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libtomahawk/widgets/SearchWidget.cpp b/src/libtomahawk/widgets/SearchWidget.cpp index cc9929a70..a38b1fb43 100644 --- a/src/libtomahawk/widgets/SearchWidget.cpp +++ b/src/libtomahawk/widgets/SearchWidget.cpp @@ -58,7 +58,7 @@ SearchWidget::SearchWidget( const QString& search, QWidget* parent ) TomahawkUtils::unmarginLayout( ui->verticalLayout ); - ui->resultsView->loadingSpinner()->fadeIn(); + m_resultsModel->startLoading(); m_queries << Tomahawk::Query::get( search, uuid() ); ui->splitter_2->setStretchFactor( 0, 0 ); @@ -156,5 +156,5 @@ SearchWidget::onArtistsFound( const QList& artists ) void SearchWidget::onQueryFinished() { - ui->resultsView->loadingSpinner()->fadeOut(); + m_resultsModel->finishLoading(); }