began work setting several timings to use rational rather than long/double

This commit is contained in:
itsmattkc
2019-06-16 15:13:53 -07:00
parent 0acee942f4
commit 771572f65b
63 changed files with 448 additions and 397 deletions
+2 -2
View File
@@ -141,7 +141,7 @@ QVariant NodeIO::GetValue()
return GetValueAt(0);
}
QVariant NodeIO::GetValueAt(double timecode)
QVariant NodeIO::GetValueAt(const rational& timecode)
{
if (FieldCount() == 0) {
return data_;
@@ -157,7 +157,7 @@ void NodeIO::SetValue(const QVariant &value)
SetValueAt(0, value);
}
void NodeIO::SetValueAt(double timecode, const QVariant &value)
void NodeIO::SetValueAt(const rational &timecode, const QVariant &value)
{
if (FieldCount() == 0) {
data_ = value;