CCollisionEditor: Make window title translatable

This commit is contained in:
Lioncash 2020-07-03 08:45:23 -04:00
parent 0fd2a55e3b
commit 991f5de359
1 changed files with 2 additions and 2 deletions

View File

@ -60,8 +60,8 @@ CCollisionEditor::CCollisionEditor(CCollisionMeshGroup* pCollisionMesh, QWidget*
this, &CCollisionEditor::OnOrbitToggled);
// Update window title
QString WindowTitle = "%APP_FULL_NAME% - Collision Editor - %1[*]";
WindowTitle = WindowTitle.arg( TO_QSTRING(mpCollisionMesh->Entry()->CookedAssetPath(true).GetFileName()) );
const QString WindowTitle = tr("%APP_FULL_NAME% - Collision Editor - %1[*]")
.arg(TO_QSTRING(mpCollisionMesh->Entry()->CookedAssetPath(true).GetFileName()));
SET_WINDOWTITLE_APPVARS(WindowTitle);
}