mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
Qt: use unique_ptr for Ui objects. Should fix some mem-leaks
This commit is contained in:
parent
bb03e17e2d
commit
e9ba6fd034
17 changed files with 9 additions and 20 deletions
|
|
@ -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).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue