Qt: use unique_ptr for Ui objects. Should fix some mem-leaks

This commit is contained in:
Megamouse 2022-06-05 18:53:22 +02:00
parent bb03e17e2d
commit e9ba6fd034
17 changed files with 9 additions and 20 deletions

View file

@ -99,7 +99,6 @@ main_window::main_window(std::shared_ptr<gui_settings> gui_settings, std::shared
main_window::~main_window()
{
SaveWindowState();
delete ui;
}
/* An init method is used so that RPCS3App can create the necessary connects before calling init (specifically the stylesheet connect).