Remove deprecated configure track option, fix delete track menu

parent defe2dbf
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
<kpartgui name="kdenlive" version="157" translationDomain="kdenlive">
<kpartgui name="kdenlive" version="158" translationDomain="kdenlive">
<MenuBar>
<Menu name="file" >
<Action name="dvd_wizard" />
......@@ -126,8 +126,7 @@
<Action name="send_library" />
<Menu name="timeline_tracks" ><text>Tracks</text>
<Action name="insert_track" />
<Action name="delete_track" />
<Action name="config_tracks" />
<Action name="delete_track" />
<Separator />
<Action name="select_track" />
<Action name="select_all_tracks" />
......
......@@ -1345,10 +1345,6 @@ void MainWindow::setupActions()
timelineActions->addAction(QStringLiteral("delete_track"), deleteTrack);
deleteTrack->setData("delete_track");
QAction *configTracks = new QAction(QIcon::fromTheme(QStringLiteral("configure")), i18n("Configure Tracks"), this);
connect(configTracks, &QAction::triggered, this, &MainWindow::slotConfigTrack);
timelineActions->addAction(QStringLiteral("config_tracks"), configTracks);
QAction *selectTrack = new QAction(QIcon(), i18n("Select All in Current Track"), this);
connect(selectTrack, &QAction::triggered, this, &MainWindow::slotSelectTrack);
timelineActions->addAction(QStringLiteral("select_track"), selectTrack);
......@@ -2352,12 +2348,6 @@ void MainWindow::slotInsertTrack()
}
void MainWindow::slotDeleteTrack()
{
pCore->monitorManager()->activateMonitor(Kdenlive::ProjectMonitor);
getMainTimeline()->controller()->addTrack(-1);
}
void MainWindow::slotConfigTrack()
{
pCore->monitorManager()->activateMonitor(Kdenlive::ProjectMonitor);
getMainTimeline()->controller()->deleteTrack(-1);
......
......@@ -376,8 +376,6 @@ private slots:
void configureNotifications();
void slotInsertTrack();
void slotDeleteTrack();
/** @brief Shows the configure tracks dialog and updates transitions afterwards. */
void slotConfigTrack();
/** @brief Select all clips in active track. */
void slotSelectTrack();
/** @brief Select all clips in timeline. */
......
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