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
056d1462
Commit
056d1462
authored
Jun 06, 2022
by
Jean-Baptiste Mardelle
Browse files
Fix incorrect lambda capture leading to crash.
Fixes
#1451
parent
9a5315d3
Pipeline
#186112
passed with stage
in 7 minutes and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/mainwindow.cpp
View file @
056d1462
...
@@ -2336,8 +2336,8 @@ void MainWindow::connectDocument()
...
@@ -2336,8 +2336,8 @@ void MainWindow::connectDocument()
connect
(
pCore
->
mixer
(),
&
MixerManager
::
purgeCache
,
m_projectMonitor
,
&
Monitor
::
purgeCache
);
connect
(
pCore
->
mixer
(),
&
MixerManager
::
purgeCache
,
m_projectMonitor
,
&
Monitor
::
purgeCache
);
getMainTimeline
()
->
controller
()
->
clipActions
=
kdenliveCategoryMap
.
value
(
QStringLiteral
(
"timelineselection"
))
->
actions
();
getMainTimeline
()
->
controller
()
->
clipActions
=
kdenliveCategoryMap
.
value
(
QStringLiteral
(
"timelineselection"
))
->
actions
();
connect
(
m_projectMonitor
,
&
Monitor
::
zoneUpdated
,
project
,
[
&
](
const
QPoint
&
)
{
project
->
setModified
();
});
connect
(
m_projectMonitor
,
&
Monitor
::
zoneUpdated
,
project
,
[
project
](
const
QPoint
&
)
{
project
->
setModified
();
});
connect
(
m_clipMonitor
,
&
Monitor
::
zoneUpdated
,
project
,
[
&
](
const
QPoint
&
)
{
project
->
setModified
();
});
connect
(
m_clipMonitor
,
&
Monitor
::
zoneUpdated
,
project
,
[
project
](
const
QPoint
&
)
{
project
->
setModified
();
});
connect
(
project
,
&
KdenliveDoc
::
docModified
,
this
,
&
MainWindow
::
slotUpdateDocumentState
);
connect
(
project
,
&
KdenliveDoc
::
docModified
,
this
,
&
MainWindow
::
slotUpdateDocumentState
);
if
(
m_renderWidget
)
{
if
(
m_renderWidget
)
{
...
...
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