diff framework/SVFileReader.cpp @ 648:eec0c50bb44f single-point

Update following RegionModel API change
author Chris Cannam
date Fri, 15 Mar 2019 14:24:46 +0000
parents 3168deb50199
children 284cb118368e
line wrap: on
line diff
--- a/framework/SVFileReader.cpp	Fri Mar 15 11:09:34 2019 +0000
+++ b/framework/SVFileReader.cpp	Fri Mar 15 14:24:46 2019 +0000
@@ -1129,7 +1129,7 @@
         int duration = 0;
         duration = attributes.value("duration").trimmed().toInt(&ok);
         QString label = attributes.value("label");
-        rm->addPoint(RegionModel::Point(frame, value, duration, label));
+        rm->add(Event(frame, value, duration, label));
         return ok;
     }