mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-14 06:27:58 -05:00
configuration: Use std::make_unique instead of operator new for ui
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user