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 211e25e5 authored by Nicolas Carion's avatar Nicolas Carion

fix minor leak in tests

parent 8742b788
......@@ -22,7 +22,7 @@ TEST_CASE("Basic creation/deletion of a track", "[TrackModel]")
pCore->m_projectManager = &mocked;
// We also mock timeline object to spy few functions and mock others
TimelineItemModel tim(new Mlt::Profile(), undoStack);
TimelineItemModel tim(&profile_model, undoStack);
Mock<TimelineItemModel> timMock(tim);
auto timeline = std::shared_ptr<TimelineItemModel>(&timMock.get(), [](...) {});
TimelineItemModel::finishConstruct(timeline, guideModel);
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