main: Add missing make_unique for ui

master
Morph 2021-10-15 19:36:52 +07:00
parent aef3ae1cb9
commit d4c79a0404
1 changed files with 1 additions and 1 deletions

@ -192,7 +192,7 @@ static void RemoveCachedContents() {
} }
GMainWindow::GMainWindow() GMainWindow::GMainWindow()
: system{std::make_unique<Core::System>()}, : ui{std::make_unique<Ui::MainWindow>()}, system{std::make_unique<Core::System>()},
input_subsystem{std::make_shared<InputCommon::InputSubsystem>()}, input_subsystem{std::make_shared<InputCommon::InputSubsystem>()},
config{std::make_unique<Config>(*system)}, config{std::make_unique<Config>(*system)},
vfs{std::make_shared<FileSys::RealVfsFilesystem>()}, vfs{std::make_shared<FileSys::RealVfsFilesystem>()},