1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-08-29 23:46:31 -05:00

configuration: Use std::make_unique instead of operator new for ui

This commit is contained in:
Morph
2021-10-15 15:26:20 -04:00
parent c68ce25a14
commit ab441fb009
13 changed files with 15 additions and 14 deletions

View File

@@ -9,7 +9,7 @@
#include "yuzu/configuration/configure_graphics_advanced.h"
ConfigureGraphicsAdvanced::ConfigureGraphicsAdvanced(const Core::System& system_, QWidget* parent)
: QWidget(parent), ui(new Ui::ConfigureGraphicsAdvanced), system{system_} {
: QWidget(parent), ui{std::make_unique<Ui::ConfigureGraphicsAdvanced>()}, system{system_} {
ui->setupUi(this);