mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 15:59:42 +01:00
* Fixing assert in JobStatusModel.
This commit is contained in:
parent
ef02bd8fae
commit
fd936617d7
@ -58,7 +58,7 @@ JobStatusModel::addJob( JobStatusItem* item )
|
||||
}
|
||||
qDebug() << "Adding item:" << item;
|
||||
|
||||
beginInsertRows( QModelIndex(), m_items.count() - 1, m_items.count() );
|
||||
beginInsertRows( QModelIndex(), m_items.count(), m_items.count() );
|
||||
m_items.append( item );
|
||||
endInsertRows();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user