1
0
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:
Uwe L. Korn
2014-04-05 22:43:43 +01:00
parent 8bf74bf312
commit 8d74d51f7b

View File

@@ -295,8 +295,8 @@ JobStatusModel::itemFinished()
if ( !m_jobQueue[ item->type() ].isEmpty() )
{
JobStatusItem* item = m_jobQueue[ item->type() ].dequeue();
QMetaObject::invokeMethod( this, "addJob", Qt::QueuedConnection, Q_ARG( JobStatusItem*, item ) );
JobStatusItem* nextItem = m_jobQueue[ item->type() ].dequeue();
QMetaObject::invokeMethod( this, "addJob", Qt::QueuedConnection, Q_ARG( JobStatusItem*, nextItem ) );
}
}