Commit 3275df92 authored by Yuri Chornoivan's avatar Yuri Chornoivan
Browse files

Use the translated effect names for effect stack on the timeline

parent 1f157460
Pipeline #6545 passed with stage
in 14 minutes and 39 seconds
......@@ -1136,7 +1136,7 @@ const QString EffectStackModel::effectNames() const
{
QStringList effects;
for (int i = 0; i < rootItem->childCount(); ++i) {
effects.append(EffectsRepository::get()->getName(std::static_pointer_cast<EffectItemModel>(rootItem->child(i))->getAssetId()));
effects.append(i18n(EffectsRepository::get()->getName(std::static_pointer_cast<EffectItemModel>(rootItem->child(i))->getAssetId()).toUtf8().data()));
}
return effects.join(QLatin1Char('/'));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment