Commit c89ff3ef authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix incorrect QList insert

parent ae64fa29
......@@ -198,7 +198,7 @@ QList<int> TimelineModel::getTracksIds(bool audio) const
auto it = m_allTracks.cbegin();
while (it != m_allTracks.cend()) {
if ((*it)->isAudioTrack() == audio) {
trackIds.insert(-1, (*it)->getId());
trackIds.insert(0, (*it)->getId());
}
++it;
}
......
Supports Markdown
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