UI: Fix "Add [transition]" not being translated

This is a temporary fix as to not to delay the release, and will need to
be replaced with AddValue in future versions.
This commit is contained in:
jp9000 2020-09-27 05:30:55 -07:00
parent 4e92ffe135
commit 1a14304784

View File

@ -73,8 +73,11 @@ void OBSBasic::InitDefaultTransitions()
obs_source_release(tr);
} else {
QString addString = QTStr("Add") +
QStringLiteral(": ") +
QT_UTF8(name);
ui->transitions->addItem(
QTStr("Add ") + QT_UTF8(name),
addString,
QVariant::fromValue(QString(QT_UTF8(id))));
}
}