diff --git a/src/Editor/CollisionEditor/CCollisionEditor.cpp b/src/Editor/CollisionEditor/CCollisionEditor.cpp index 42d458ba..90df0ee2 100644 --- a/src/Editor/CollisionEditor/CCollisionEditor.cpp +++ b/src/Editor/CollisionEditor/CCollisionEditor.cpp @@ -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); }