Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
8622d3d0
Commit
8622d3d0
authored
Jun 10, 2019
by
Jean-Baptiste Mardelle
Browse files
Fix crash on project close, see #236
parent
2b0afc3a
Pipeline
#4179
passed with stage
in 36 minutes and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/model/timelinemodel.cpp
View file @
8622d3d0
...
@@ -133,6 +133,7 @@ TimelineModel::TimelineModel(Mlt::Profile *profile, std::weak_ptr<DocUndoStack>
...
@@ -133,6 +133,7 @@ TimelineModel::TimelineModel(Mlt::Profile *profile, std::weak_ptr<DocUndoStack>
void
TimelineModel
::
prepareClose
()
void
TimelineModel
::
prepareClose
()
{
{
requestClearSelection
(
true
);
QWriteLocker
locker
(
&
m_lock
);
QWriteLocker
locker
(
&
m_lock
);
// Unlock all tracks to allow delting clip from tracks
// Unlock all tracks to allow delting clip from tracks
m_closing
=
true
;
m_closing
=
true
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment