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
@@ -37,7 +37,7 @@ FontField::FontField(NodeIO* parent) :
SetValueAt(0, font_list.first());
}
QString FontField::GetFontAt(double timecode)
QString FontField::GetFontAt(const rational& timecode)
{
return GetValueAt(timecode).toString();
}
@@ -66,7 +66,7 @@ QWidget *FontField::CreateWidget(QWidget *existing)
return fcb;
}
void FontField::UpdateWidgetValue(QWidget *widget, double timecode)
void FontField::UpdateWidgetValue(QWidget *widget, const rational &timecode)
{
QVariant data = GetValueAt(timecode);