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

Make sure to always hide the loading spinner, even if it's on a hidden page

This commit is contained in:
Leo Franchi 2011-11-03 21:25:15 -04:00
parent 1c14f562ad
commit 844eb3868a
2 changed files with 2 additions and 3 deletions

View File

@ -74,9 +74,6 @@ LoadingSpinner::fadeIn()
void
LoadingSpinner::fadeOut()
{
if ( !isVisible() )
return;
m_showHide->setDirection( QTimeLine::Backward );
if ( m_showHide->state() != QTimeLine::Running )

View File

@ -851,6 +851,8 @@ TreeModel::infoSystemInfo( Tomahawk::InfoSystem::InfoRequestData requestData, QV
if ( m_receivedInfoData.contains( requestData.input.value< Tomahawk::InfoSystem::InfoStringHash >() ) )
break;
emit loadingFinished();
QVariantMap returnedData = output.value< QVariantMap >();
if ( returnedData.isEmpty() )
break;