mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-08 06:06:05 +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();
|
mpUI->ToolBar->addSeparator();
|
||||||
AddUndoActions(mpUI->ToolBar);
|
AddUndoActions(mpUI->ToolBar);
|
||||||
|
|
||||||
QString WindowTitle = "%APP_FULL_NAME% - Scan Editor - %1[*]";
|
const QString WindowTitle = tr("%APP_FULL_NAME% - Scan Editor - %1[*]")
|
||||||
WindowTitle = WindowTitle.arg(TO_QSTRING(mpScan->Entry()->CookedAssetPath(true).GetFileName()));
|
.arg(TO_QSTRING(mpScan->Entry()->CookedAssetPath(true).GetFileName()));
|
||||||
SET_WINDOWTITLE_APPVARS(WindowTitle);
|
SET_WINDOWTITLE_APPVARS(WindowTitle);
|
||||||
|
|
||||||
connect(mpUI->ActionSave, &QAction::toggled, this, &CScanEditor::Save);
|
connect(mpUI->ActionSave, &QAction::toggled, this, &CScanEditor::Save);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user