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:
parent
1c14f562ad
commit
844eb3868a
@ -74,9 +74,6 @@ LoadingSpinner::fadeIn()
|
||||
void
|
||||
LoadingSpinner::fadeOut()
|
||||
{
|
||||
if ( !isVisible() )
|
||||
return;
|
||||
|
||||
m_showHide->setDirection( QTimeLine::Backward );
|
||||
|
||||
if ( m_showHide->state() != QTimeLine::Running )
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user