Use new config dir in metaforce-gui

Updates a couple missed UI references to URDE
This commit is contained in:
Luke Street 2021-04-07 11:13:20 -04:00
parent ff528f1fa6
commit 3b59eac508
2 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@ bool ProjectManager::newProject(hecl::SystemStringView path) {
m_vm.SetupEditorView(); m_vm.SetupEditorView();
saveProject(); saveProject();
m_vm.m_mainWindow->setTitle(fmt::format(FMT_STRING(_SYS_STR("{} - URDE {} [{}]")), m_vm.m_mainWindow->setTitle(fmt::format(FMT_STRING(_SYS_STR("{} - Metaforce {} [{}]")),
m_proj->getProjectRootPath().getLastComponent(), METAFORCE_WC_DESCRIBE_SYS, m_vm.platformName())); m_proj->getProjectRootPath().getLastComponent(), METAFORCE_WC_DESCRIBE_SYS, m_vm.platformName()));
m_vm.DismissSplash(); m_vm.DismissSplash();
m_vm.FadeInEditors(); m_vm.FadeInEditors();
@ -104,7 +104,7 @@ bool ProjectManager::openProject(hecl::SystemStringView path) {
if (needsSave) if (needsSave)
saveProject(); saveProject();
m_vm.m_mainWindow->setTitle(fmt::format(FMT_STRING(_SYS_STR("{} - URDE {} [{}]")), m_vm.m_mainWindow->setTitle(fmt::format(FMT_STRING(_SYS_STR("{} - Metaforce {} [{}]")),
m_proj->getProjectRootPath().getLastComponent(), METAFORCE_WC_DESCRIBE_SYS, m_proj->getProjectRootPath().getLastComponent(), METAFORCE_WC_DESCRIBE_SYS,
m_vm.platformName())); m_vm.platformName()));
m_vm.DismissSplash(); m_vm.DismissSplash();

View File

@ -64,7 +64,7 @@ const QStringList MainWindow::skUpdateTracks = {QStringLiteral("stable"), QStrin
MainWindow::MainWindow(QWidget* parent) MainWindow::MainWindow(QWidget* parent)
: QMainWindow(parent) : QMainWindow(parent)
, m_ui(std::make_unique<Ui::MainWindow>()) , m_ui(std::make_unique<Ui::MainWindow>())
, m_fileMgr(_SYS_STR("urde")) , m_fileMgr(_SYS_STR("metaforce"))
, m_cvarManager(m_fileMgr) , m_cvarManager(m_fileMgr)
, m_cvarCommons(m_cvarManager) , m_cvarCommons(m_cvarManager)
, m_heclProc(this) , m_heclProc(this)