Mercurial > hg > svcore
diff data/model/SparseOneDimensionalModel.h @ 1751:77543124651b by-id
Overhaul PlayParameters bits
author | Chris Cannam |
---|---|
date | Thu, 04 Jul 2019 18:04:21 +0100 |
parents | 52705a328b34 |
children | 6d09d68165a4 |
line wrap: on
line diff
--- a/data/model/SparseOneDimensionalModel.h Thu Jul 04 14:30:48 2019 +0100 +++ b/data/model/SparseOneDimensionalModel.h Thu Jul 04 18:04:21 2019 +0100 @@ -53,11 +53,13 @@ DeferredNotifier::NOTIFY_ALWAYS : DeferredNotifier::NOTIFY_DEFERRED), m_completion(100) { - PlayParameterRepository::getInstance()->addPlayable(getId().untyped); + PlayParameterRepository::getInstance()->addPlayable + (getId().untyped, this); } virtual ~SparseOneDimensionalModel() { - PlayParameterRepository::getInstance()->removePlayable(getId().untyped); + PlayParameterRepository::getInstance()->removePlayable + (getId().untyped); } QString getTypeName() const override { return tr("Sparse 1-D"); }