Commit ba3b2fdb authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen
Browse files

ImportMediaListController: Why in heaven would you iterate over keys to call value later !?

parent f8da06f1
......@@ -120,13 +120,8 @@ ImportMediaListController::removeClip( const QUuid& uuid )
void
ImportMediaListController::cleanAll()
{
QUuid uuid;
MediaCellView* cell;
foreach( uuid, m_mediaCellList->keys() )
{
cell = m_mediaCellList->value( uuid );
foreach( MediaCellView* cell, m_mediaCellList->values() )
removeCell( cell );
}
m_mediaCellList->clear();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment