Mercurial > hg > sonic-visualiser
comparison main/MainWindow.cpp @ 1621:06be7469ee5f
Set a more appropriate name on aggregate model when deciding to retain it
author | Chris Cannam |
---|---|
date | Mon, 27 Feb 2017 16:52:12 +0000 |
parents | 33d32b3190bf |
children | 987b406be4b0 |
comparison
equal
deleted
inserted
replaced
1620:33d32b3190bf | 1621:06be7469ee5f |
---|---|
3958 startFrame, | 3958 startFrame, |
3959 duration, | 3959 duration, |
3960 &configurator); | 3960 &configurator); |
3961 | 3961 |
3962 if (input.getModel() == aggregate) { | 3962 if (input.getModel() == aggregate) { |
3963 aggregate->setObjectName(tr("Multiplexed audio")); | |
3963 m_document->addAggregateModel(aggregate); | 3964 m_document->addAggregateModel(aggregate); |
3964 } else { | 3965 } else { |
3965 aggregate->aboutToDelete(); | 3966 aggregate->aboutToDelete(); |
3966 delete aggregate; | 3967 delete aggregate; |
3967 } | 3968 } |