1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 11:20:22 +02:00

Set state to Running before url translation.

This commit is contained in:
Christian Muehlhaeuser
2015-03-25 10:00:18 +01:00
parent c90c7a9b37
commit 77eed10a19

View File

@@ -204,6 +204,10 @@ DownloadJob::retry()
bool
DownloadJob::download()
{
if ( m_state == Running )
return true;
setState( Running );
if ( m_result->resolvedByCollection() )
{
Tomahawk::ScriptCollection* collection = qobject_cast<Tomahawk::ScriptCollection*>( m_result->resolvedByCollection().data() );