mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 11:38:01 -05:00
configuration: Use std::make_unique instead of operator new for ui
This commit is contained in:
@ -55,7 +55,7 @@ QString GetTranslatedRowTextName(size_t index) {
|
||||
} // Anonymous namespace
|
||||
|
||||
ConfigureUi::ConfigureUi(Core::System& system_, QWidget* parent)
|
||||
: QWidget(parent), ui(new Ui::ConfigureUi), system{system_} {
|
||||
: QWidget(parent), ui{std::make_unique<Ui::ConfigureUi>()}, system{system_} {
|
||||
ui->setupUi(this);
|
||||
|
||||
InitializeLanguageComboBox();
|
||||
|
Reference in New Issue
Block a user