CTweakEditor: Make window title translatable

This commit is contained in:
Lioncash 2020-07-03 08:48:17 -04:00
parent 0b74006bd6
commit 53ab3f4862

View File

@ -30,7 +30,7 @@ CTweakEditor::CTweakEditor(QWidget* pParent)
mpUI->TweakTabs->setExpanding(false); mpUI->TweakTabs->setExpanding(false);
mpUI->ToolBar->addSeparator(); mpUI->ToolBar->addSeparator();
AddUndoActions(mpUI->ToolBar); AddUndoActions(mpUI->ToolBar);
SET_WINDOWTITLE_APPVARS("%APP_FULL_NAME% - Tweak Editor[*]"); SET_WINDOWTITLE_APPVARS(tr("%APP_FULL_NAME% - Tweak Editor[*]"));
connect(mpUI->TweakTabs, &QTabBar::currentChanged, this, &CTweakEditor::OnTweakTabClicked); connect(mpUI->TweakTabs, &QTabBar::currentChanged, this, &CTweakEditor::OnTweakTabClicked);
connect(mpUI->ActionSave, &QAction::triggered, this, &CTweakEditor::Save); connect(mpUI->ActionSave, &QAction::triggered, this, &CTweakEditor::Save);