diff framework/SVFileReader.cpp @ 652:8fb56fb5bdd3 single-point

Use updated TextModel
author Chris Cannam
date Fri, 22 Mar 2019 11:05:29 +0000
parents b63dfd7e2780
children 365c61ac7680
line wrap: on
line diff
--- a/framework/SVFileReader.cpp	Thu Mar 21 13:34:34 2019 +0000
+++ b/framework/SVFileReader.cpp	Fri Mar 22 11:05:29 2019 +0000
@@ -1141,7 +1141,7 @@
         height = attributes.value("height").trimmed().toFloat(&ok);
         QString label = attributes.value("label");
 //        SVDEBUG << "SVFileReader::addPointToDataset: TextModel: frame = " << frame << ", height = " << height << ", label = " << label << ", ok = " << ok << endl;
-        tm->addPoint(TextModel::Point(frame, height, label));
+        tm->add(Event(frame, height, label));
         return ok;
     }