Commit 7d1c301c authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Cleaner deletion order on exit

parent 4493cbbc
......@@ -719,7 +719,7 @@ void MainWindow::updateAction()
MainWindow::~MainWindow()
{
pCore->prepareShutdown();
m_timelineTabs->disconnectTimeline(getMainTimeline());
delete m_timelineTabs;
delete m_audioSpectrum;
if (m_projectMonitor) {
m_projectMonitor->stop();
......
......@@ -91,8 +91,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