fixed gcc compile issues
This commit is contained in:
@@ -33,17 +33,17 @@ int IntegerSlider::GetValue()
|
||||
|
||||
void IntegerSlider::SetValue(const int64_t &v)
|
||||
{
|
||||
SliderBase::SetValue(v);
|
||||
SliderBase::SetValue(QVariant::fromValue(v));
|
||||
}
|
||||
|
||||
void IntegerSlider::SetMinimum(const int64_t &d)
|
||||
{
|
||||
SetMinimumInternal(d);
|
||||
SetMinimumInternal(QVariant::fromValue(d));
|
||||
}
|
||||
|
||||
void IntegerSlider::SetMaximum(const int64_t &d)
|
||||
{
|
||||
SetMaximumInternal(d);
|
||||
SetMaximumInternal(QVariant::fromValue(d));
|
||||
}
|
||||
|
||||
QVariant IntegerSlider::StringToValue(const QString &s, bool *ok)
|
||||
|
||||
@@ -30,5 +30,5 @@ QString TimeSlider::ValueToString(const QVariant &v)
|
||||
|
||||
QVariant TimeSlider::StringToValue(const QString &s, bool *ok)
|
||||
{
|
||||
return Timecode::timecode_to_timestamp(s, timebase_, Timecode::CurrentDisplay(), ok);
|
||||
return QVariant::fromValue(Timecode::timecode_to_timestamp(s, timebase_, Timecode::CurrentDisplay(), ok));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user