mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 21:57:41 +02:00
Set state to Running before url translation.
This commit is contained in:
@@ -204,6 +204,10 @@ DownloadJob::retry()
|
|||||||
bool
|
bool
|
||||||
DownloadJob::download()
|
DownloadJob::download()
|
||||||
{
|
{
|
||||||
|
if ( m_state == Running )
|
||||||
|
return true;
|
||||||
|
setState( Running );
|
||||||
|
|
||||||
if ( m_result->resolvedByCollection() )
|
if ( m_result->resolvedByCollection() )
|
||||||
{
|
{
|
||||||
Tomahawk::ScriptCollection* collection = qobject_cast<Tomahawk::ScriptCollection*>( m_result->resolvedByCollection().data() );
|
Tomahawk::ScriptCollection* collection = qobject_cast<Tomahawk::ScriptCollection*>( m_result->resolvedByCollection().data() );
|
||||||
|
Reference in New Issue
Block a user