diff --git a/src/libs/vpatterndb/vformula.cpp b/src/libs/vpatterndb/vformula.cpp index 490c7afa1..0be1b9f55 100644 --- a/src/libs/vpatterndb/vformula.cpp +++ b/src/libs/vpatterndb/vformula.cpp @@ -94,7 +94,7 @@ QString VFormula::GetFormula(FormulaType type) const { if (type == FormulaType::ToUser) { - return qApp->TrVars()->TryFormulaToUser(d->formula, qApp->Settings()->GetOsSeparator()); + return VTranslateVars::TryFormulaToUser(d->formula, qApp->Settings()->GetOsSeparator()); } else { @@ -109,7 +109,7 @@ void VFormula::SetFormula(const QString &value, FormulaType type) { if (type == FormulaType::FromUser) { - d->formula = qApp->TrVars()->FormulaFromUser(value, qApp->Settings()->GetOsSeparator()); + d->formula = VTranslateVars::TryFormulaFromUser(value, qApp->Settings()->GetOsSeparator()); } else {