Commit 85369537 authored by Nicolas Carion's avatar Nicolas Carion

Timeline now have an id

parent 89101ae1
......@@ -54,6 +54,7 @@ TimelineModel::TimelineModel(Mlt::Profile *profile, std::weak_ptr<DocUndoStack>
, m_blackClip(new Mlt::Producer(*profile, "color:black"))
, m_lock(QReadWriteLock::Recursive)
, m_timelineEffectsEnabled(true)
, m_id(getNextId())
{
// Create black background track
m_blackClip->set("id", "black_track");
......
......@@ -510,6 +510,8 @@ protected:
bool m_timelineEffectsEnabled;
bool m_id; // id of the timeline itself
// what follows are some virtual function that corresponds to the QML. They are implemented in TimelineItemModel
protected:
virtual void _beginRemoveRows(const QModelIndex &, int, int) = 0;
......
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