Commit 70859257 authored by Pushkar Kukde's avatar Pushkar Kukde Committed by Jean-Baptiste Mardelle

Removed unnecessary code

parent 791e2d06
......@@ -2647,7 +2647,6 @@ void MainWindow::slotDeleteTrack()
{
pCore->monitorManager()->activateMonitor(Kdenlive::ProjectMonitor);
getCurrentTimeline()->controller()->deleteMultipleTracks(-1);
// getCurrentTimeline()->controller()->deleteTrack(-1);
}
void MainWindow::slotSwitchTrackAudioStream()
......
......@@ -23,8 +23,6 @@
#include <QIcon>
#include <QCheckBox>
TrackDialog::TrackDialog(const std::shared_ptr<TimelineItemModel> &model, int trackIndex, QWidget *parent, bool deleteMode, int activeTrackId)
: QDialog(parent)
, m_trackIndex(trackIndex)
......
......@@ -28,7 +28,7 @@ class TrackDialog : public QDialog, public Ui::AddTrack_UI
Q_OBJECT
public:
explicit TrackDialog(const std::shared_ptr<TimelineItemModel> &model, int trackIndex = -1, QWidget *parent = nullptr, bool deleteMode = false, int activeTracks = -1);
explicit TrackDialog(const std::shared_ptr<TimelineItemModel> &model, int trackIndex = -1, QWidget *parent = nullptr, bool deleteMode = false, int activeTrack = -1);
/** @brief: returns the selected position in MLT
*/
int selectedTrackPosition() const;
......
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