Mercurial > hg > sonic-visualiser
diff document/SVFileReader.cpp @ 137:006c90387f40
* Fix many compile warnings, remove some debug output
author | Chris Cannam |
---|---|
date | Mon, 30 Apr 2007 13:36:23 +0000 |
parents | fbd09fcda469 |
children | f6ce5febc07f |
line wrap: on
line diff
--- a/document/SVFileReader.cpp Mon Apr 30 09:34:13 2007 +0000 +++ b/document/SVFileReader.cpp Mon Apr 30 13:36:23 2007 +0000 @@ -797,8 +797,8 @@ if (nm) { float value = 0.0; value = attributes.value("value").trimmed().toFloat(&ok); - float duration = 0.0; - duration = attributes.value("duration").trimmed().toFloat(&ok); + size_t duration = 0; + duration = attributes.value("duration").trimmed().toUInt(&ok); QString label = attributes.value("label"); nm->addPoint(NoteModel::Point(frame, value, duration, label)); return ok; @@ -1064,3 +1064,7 @@ return true; } +SVFileReaderPaneCallback::~SVFileReaderPaneCallback() +{ +} +