Commit 056d1462 authored by Jean-Baptiste Mardelle's avatar 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
...@@ -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) {
......
Supports Markdown
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