Commit e7c7a838 authored by Akhil K Gangadharan's avatar Akhil K Gangadharan

Remove method slotInsertZoneToProjectBin, use instead slotInsertZoneToTree

parent 6a863568
......@@ -209,9 +209,7 @@ Monitor::Monitor(Kdenlive::MonitorId id, MonitorManager *manager, QWidget *paren
connect(m_recManager, &RecManager::warningMessage, this, &Monitor::warningMessage);
connect(m_recManager, &RecManager::addClipToProject, this, &Monitor::addClipToProject);
QAction *insertAction = new QAction(QIcon::fromTheme(QStringLiteral("document-new")), i18n("Insert Zone to Project Bin"), this);
connect(insertAction, &QAction::triggered, this, &Monitor::slotInsertZoneToProjectBin);
m_toolbar->addAction(insertAction);
m_toolbar->addAction(manager->getAction(QStringLiteral("insert_project_tree")));
m_toolbar->addSeparator();
}
......@@ -1420,16 +1418,6 @@ void Monitor::slotSaveZone()
// render->saveZone(pCore->currentDoc()->projectDataFolder(), m_ruler->zone());
}
void Monitor::slotInsertZoneToProjectBin()
{
if (!isActive() || currentController() == nullptr) {
return;
}
QPoint info = getZoneInfo();
QString id;
pCore->projectItemModel()->requestAddBinSubClip(id, info.x(), info.y(), QString(), activeClipId());
}
void Monitor::setCustomProfile(const QString &profile, const Timecode &tc)
{
// TODO or deprecate
......
......@@ -249,7 +249,6 @@ private slots:
void slotSetVolume(int volume);
void slotEditMarker();
void slotExtractCurrentZone();
void slotInsertZoneToProjectBin();
void onFrameDisplayed(const SharedFrame &frame);
void slotStartDrag();
void setZoom();
......
Markdown is supported
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