mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-11 08:34:34 +02:00
Remove name duplication, fixes #1588
This commit is contained in:
@@ -295,8 +295,8 @@ JobStatusModel::itemFinished()
|
|||||||
|
|
||||||
if ( !m_jobQueue[ item->type() ].isEmpty() )
|
if ( !m_jobQueue[ item->type() ].isEmpty() )
|
||||||
{
|
{
|
||||||
JobStatusItem* item = m_jobQueue[ item->type() ].dequeue();
|
JobStatusItem* nextItem = m_jobQueue[ item->type() ].dequeue();
|
||||||
QMetaObject::invokeMethod( this, "addJob", Qt::QueuedConnection, Q_ARG( JobStatusItem*, item ) );
|
QMetaObject::invokeMethod( this, "addJob", Qt::QueuedConnection, Q_ARG( JobStatusItem*, nextItem ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user