SceneSwitcher/src/utils/variable-line-edit.cpp
WarmUpTill 2c5caabab0 Add advss namespace
Fixes name conflict with "Duration" class and typedef of the same name
on MacOS
2023-04-17 11:33:24 -07:00

18 lines
376 B
C++

#include "variable-line-edit.hpp"
namespace advss {
VariableLineEdit::VariableLineEdit(QWidget *parent) : QLineEdit(parent) {}
void VariableLineEdit::setText(const QString &string)
{
QLineEdit::setText(string);
}
void VariableLineEdit::setText(const StringVariable &string)
{
QLineEdit::setText(QString::fromStdString(string.UnresolvedValue()));
}
} // namespace advss