mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 21:05:45 +00:00
configuration: Use std::make_unique instead of operator new for ui
This commit is contained in:
parent
e2d77ebac2
commit
e7364a0165
13 changed files with 15 additions and 14 deletions
|
@ -16,7 +16,7 @@
|
|||
#include "yuzu/uisettings.h"
|
||||
|
||||
ConfigureGeneral::ConfigureGeneral(const Core::System& system_, QWidget* parent)
|
||||
: QWidget(parent), ui(new Ui::ConfigureGeneral), system{system_} {
|
||||
: QWidget(parent), ui{std::make_unique<Ui::ConfigureGeneral>()}, system{system_} {
|
||||
ui->setupUi(this);
|
||||
|
||||
SetupPerGameUI();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue