Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit b9b89940 authored by Nicolas Carion's avatar Nicolas Carion

[Timeline2][Model] Correctly create/delete track's tractor

parent 2d91b407
......@@ -32,6 +32,14 @@ TrackModel::TrackModel(std::weak_ptr<TimelineModel> parent, int id) :
, m_id(id == -1 ? TimelineModel::getNextId() : id)
m_track.insert_track(m_playlists[0], 0);
m_track.insert_track(m_playlists[1], 1);
int TrackModel::construct(std::weak_ptr<TimelineModel> parent, int id, int pos)
......@@ -41,6 +41,7 @@ class TrackModel
TrackModel() = delete;
friend class TimelineModel;
friend class TimelineItemModel;
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