Mercurial > hg > svcore
diff transform/Transform.cpp @ 988:58c4d69b4dd8
Fix reading duration from transform XML (it was setting the start time instead!)
author | Chris Cannam |
---|---|
date | Wed, 01 Oct 2014 14:06:28 +0100 |
parents | 06579b8ffb7b |
children | 26cf6d5251ec |
line wrap: on
line diff
--- a/transform/Transform.cpp Wed Oct 01 09:20:24 2014 +0100 +++ b/transform/Transform.cpp Wed Oct 01 14:06:28 2014 +0100 @@ -520,7 +520,7 @@ } if (attrs.value("duration") != "") { - setStartTime(RealTime::fromString(attrs.value("duration").toStdString())); + setDuration(RealTime::fromString(attrs.value("duration").toStdString())); } if (attrs.value("sampleRate") != "") {