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
87637ac4
Commit
87637ac4
authored
Apr 12, 2021
by
Jean-Baptiste Mardelle
Browse files
Fix possible crash on quit
parent
47a0961d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/view/timelinecontroller.cpp
View file @
87637ac4
...
...
@@ -88,7 +88,6 @@ TimelineController::TimelineController(QObject *parent)
TimelineController
::~
TimelineController
()
{
prepareClose
();
}
void
TimelineController
::
prepareClose
()
...
...
@@ -96,6 +95,7 @@ void TimelineController::prepareClose()
// Clear root so we don't call its methods anymore
QObject
::
disconnect
(
m_deleteConnection
);
disconnect
(
this
,
&
TimelineController
::
selectionChanged
,
this
,
&
TimelineController
::
updateClipActions
);
disconnect
(
m_model
.
get
(),
&
TimelineModel
::
selectionChanged
,
this
,
&
TimelineController
::
selectionChanged
);
disconnect
(
this
,
&
TimelineController
::
videoTargetChanged
,
this
,
&
TimelineController
::
updateVideoTarget
);
disconnect
(
this
,
&
TimelineController
::
audioTargetChanged
,
this
,
&
TimelineController
::
updateAudioTarget
);
m_ready
=
false
;
...
...
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