]> git.sesse.net Git - kdenlive/blobdiff - src/mainwindow.cpp
Jobs can now be aborted from the "running job" view
[kdenlive] / src / mainwindow.cpp
index dfb8790fcd4a646039574aa475268897467de041..2e66714e2005a02b8d8f586c71e73458d395ed3a 100644 (file)
@@ -1395,6 +1395,7 @@ void MainWindow::slotRenderProject() {
     if (!m_renderWidget) {
         m_renderWidget = new RenderWidget(this);
         connect(m_renderWidget, SIGNAL(doRender(const QString&, const QString&, const QStringList &, const QStringList &, bool, bool, double, double, bool)), this, SLOT(slotDoRender(const QString&, const QString&, const QStringList &, const QStringList &, bool, bool, double, double, bool)));
+        connect(m_renderWidget, SIGNAL(abortProcess(const QString &)), this, SIGNAL(abortRenderJob(const QString &)));
         if (m_activeDocument) {
             m_renderWidget->setProfile(m_activeDocument->mltProfile());
             m_renderWidget->setGuides(m_activeDocument->guidesXml(), m_activeDocument->projectDuration());