Mercurial > hg > sonic-visualiser
diff main/MainWindow.cpp @ 2298:f78177863e26 by-id
Experiment updating AggregateWaveModel. This builds, but can't align anything.
author | Chris Cannam |
---|---|
date | Fri, 21 Jun 2019 14:36:03 +0100 |
parents | e9c77a4c865e |
children | eb7f4579e5cc |
line wrap: on
line diff
--- a/main/MainWindow.cpp Fri Jun 21 13:37:19 2019 +0100 +++ b/main/MainWindow.cpp Fri Jun 21 14:36:03 2019 +0100 @@ -4102,7 +4102,7 @@ RangeSummarisableTimeValueModel *r = qobject_cast<RangeSummarisableTimeValueModel *>(m); if (r) { - sl.push_back(AggregateWaveModel::ModelChannelSpec(r, -1)); + sl.push_back(AggregateWaveModel::ModelChannelSpec(r->getId(), -1)); } } if (!sl.empty()) {