Fix crash on exit

parent cb0c34b0
Pipeline #14260 passed with stage
in 22 minutes and 24 seconds
......@@ -60,7 +60,6 @@ void EffectListWidget::updateFavorite(const QModelIndex &index)
EffectListWidget::~EffectListWidget()
{
delete m_proxy;
qDebug() << " - - -Deleting effect list widget";
}
......
......@@ -57,6 +57,12 @@ TimelineTabs::TimelineTabs(QWidget *parent)
connect(pCore->monitorManager()->projectMonitor(), &Monitor::addEffect, m_mainTimeline->controller(), &TimelineController::addEffectToCurrentClip);
}
TimelineTabs::~TimelineTabs()
{
// clear source
m_mainTimeline->setSource(QUrl());
}
TimelineWidget *TimelineTabs::getMainTimeline() const
{
return m_mainTimeline;
......
......@@ -49,7 +49,7 @@ class TimelineTabs : public QTabWidget
public:
/* Construct the tabs as well as the widget for the main timeline */
TimelineTabs(QWidget *parent);
virtual ~TimelineTabs();
/* @brief Returns a pointer to the main timeline */
TimelineWidget *getMainTimeline() const;
......
......@@ -53,7 +53,6 @@ TransitionListWidget::TransitionListWidget(QWidget *parent)
TransitionListWidget::~TransitionListWidget()
{
delete m_proxy;
qDebug() << " - - -Deleting transition list widget";
}
......
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