Commit cc31207f authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle

Cleaner deletion order on exit

parent 3fea8e3d
Pipeline #13352 passed with stage
in 14 minutes and 14 seconds
......@@ -720,7 +720,7 @@ void MainWindow::updateAction()
MainWindow::~MainWindow()
{
pCore->prepareShutdown();
m_timelineTabs->disconnectTimeline(getMainTimeline());
delete m_timelineTabs;
delete m_audioSpectrum;
if (m_projectMonitor) {
m_projectMonitor->stop();
......
......@@ -90,8 +90,6 @@ TimelineWidget::TimelineWidget(QWidget *parent)
TimelineWidget::~TimelineWidget()
{
rootContext()->setContextProperty("multitrack", 0);
rootContext()->setContextProperty("timeline", 0);
delete m_proxy;
}
......
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