mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-07 13:45:54 +00:00
CScanEditor: Make window title translatable
This commit is contained in:
parent
53ab3f4862
commit
85556b28e2
@ -11,8 +11,8 @@ CScanEditor::CScanEditor(CScan* pScan, QWidget* pParent)
|
||||
mpUI->ToolBar->addSeparator();
|
||||
AddUndoActions(mpUI->ToolBar);
|
||||
|
||||
QString WindowTitle = "%APP_FULL_NAME% - Scan Editor - %1[*]";
|
||||
WindowTitle = WindowTitle.arg(TO_QSTRING(mpScan->Entry()->CookedAssetPath(true).GetFileName()));
|
||||
const QString WindowTitle = tr("%APP_FULL_NAME% - Scan Editor - %1[*]")
|
||||
.arg(TO_QSTRING(mpScan->Entry()->CookedAssetPath(true).GetFileName()));
|
||||
SET_WINDOWTITLE_APPVARS(WindowTitle);
|
||||
|
||||
connect(mpUI->ActionSave, &QAction::toggled, this, &CScanEditor::Save);
|
||||
|
Loading…
x
Reference in New Issue
Block a user