X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmainwindow.cpp;h=013a5e14808c14548994ebc7a6a12fb29f6d8740;hb=b8684fb22577d9e5b19944d814840187690b51c2;hp=7355b8d33b3c581b3c63947bb26d5fa55393866a;hpb=09194484c415d7a7645bcf7c2245cc753059ea4c;p=kdenlive diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 7355b8d3..013a5e14 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -2573,7 +2573,7 @@ void MainWindow::connectDocument(TrackView *trackView, KdenliveDoc *doc) //cha connect(trackView, SIGNAL(mousePosition(int)), this, SLOT(slotUpdateMousePosition(int))); connect(trackView->projectView(), SIGNAL(forceClipProcessing(const QString &)), m_projectList, SLOT(slotForceProcessing(const QString &))); - connect(trackView->projectView(), SIGNAL(importKeyframes(GRAPHICSRECTITEM, const QString&)), this, SLOT(slotProcessImportKeyframes(GRAPHICSRECTITEM, const QString&))); + connect(trackView->projectView(), SIGNAL(importKeyframes(GRAPHICSRECTITEM, const QString&, int)), this, SLOT(slotProcessImportKeyframes(GRAPHICSRECTITEM, const QString&, int))); connect(m_projectMonitor, SIGNAL(renderPosition(int)), trackView, SLOT(moveCursorPos(int))); connect(m_projectMonitor, SIGNAL(zoneUpdated(QPoint)), trackView, SLOT(slotSetZone(QPoint))); @@ -4578,14 +4578,14 @@ void MainWindow::slotSaveTimelineClip() } } -void MainWindow::slotProcessImportKeyframes(GRAPHICSRECTITEM type, const QString& data) +void MainWindow::slotProcessImportKeyframes(GRAPHICSRECTITEM type, const QString& data, int maximum) { if (type == AVWIDGET) { // This data should be sent to the effect stack } else if (type == TRANSITIONWIDGET) { // This data should be sent to the transition stack - m_transitionConfig->setKeyframes(data); + m_transitionConfig->setKeyframes(data, maximum); } else { // Error