made slider value/string conversions abstract

This commit is contained in:
itsmattkc
2021-03-15 18:29:03 +11:00
parent 50c7f8019b
commit 0c73a4bd59
6 changed files with 9 additions and 4 deletions
+2
View File
@@ -25,6 +25,8 @@ namespace olive {
StringSlider::StringSlider(QWidget* parent) :
SliderBase(kString, parent)
{
SetValue(QString());
connect(this, SIGNAL(ValueChanged(QVariant)), this, SLOT(ConvertValue(QVariant)));
}