X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmainwindow.cpp;h=82490f7f4f9ab9013011b8307f0998ff87b4f4cf;hb=f694ca2820be2eb00f589edbbe97f61218df92bd;hp=9139b6d2ec72b6ef2b6460a0131c4152f61b025a;hpb=427196239efea34bcfb57f77c3e387e30a2dc0ca;p=kdenlive diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 9139b6d2..82490f7f 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -2568,7 +2568,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))); @@ -4573,14 +4573,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