Mercurial > hg > svcore
comparison data/model/WritableWaveFileModel.cpp @ 1752:6d09d68165a4 by-id
Further review of ById: make IDs only available when adding a model to the ById store, not by querying the item directly. This means any id encountered in the wild must have been added to the store at some point (even if later released), which simplifies reasoning about lifecycles
author | Chris Cannam |
---|---|
date | Fri, 05 Jul 2019 15:28:07 +0100 |
parents | 77543124651b |
children | dffc70996f54 |
comparison
equal
deleted
inserted
replaced
1751:77543124651b | 1752:6d09d68165a4 |
---|---|
254 normaliseToTarget(); | 254 normaliseToTarget(); |
255 } | 255 } |
256 | 256 |
257 m_reader->updateDone(); | 257 m_reader->updateDone(); |
258 m_proportion = 100; | 258 m_proportion = 100; |
259 emit modelChanged(); | 259 emit modelChanged(getId()); |
260 emit writeCompleted(); | 260 emit writeCompleted(getId()); |
261 } | 261 } |
262 | 262 |
263 void | 263 void |
264 WritableWaveFileModel::normaliseToTarget() | 264 WritableWaveFileModel::normaliseToTarget() |
265 { | 265 { |