Mercurial > hg > svapp
diff framework/SVFileReader.cpp @ 649:284cb118368e single-point
Further updates for new API - but we still need some more support in the API itself
author | Chris Cannam |
---|---|
date | Tue, 19 Mar 2019 13:06:58 +0000 |
parents | eec0c50bb44f |
children | b63dfd7e2780 |
line wrap: on
line diff
--- a/framework/SVFileReader.cpp Fri Mar 15 14:24:46 2019 +0000 +++ b/framework/SVFileReader.cpp Tue Mar 19 13:06:58 2019 +0000 @@ -1098,7 +1098,7 @@ float value = 0.0; value = attributes.value("value").trimmed().toFloat(&ok); QString label = attributes.value("label"); - stvm->addPoint(SparseTimeValueModel::Point(frame, value, label)); + stvm->add(Event(frame, value, label)); return ok; }