mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-16 23:17:29 +00:00
Qt: fix mem leaks in screenshot and save managers
This commit is contained in:
parent
844f9683ec
commit
a11c77c009
@ -98,6 +98,7 @@ save_manager_dialog::save_manager_dialog(std::shared_ptr<gui_settings> gui_setti
|
||||
{
|
||||
setWindowTitle(tr("Save Manager"));
|
||||
setMinimumSize(QSize(400, 400));
|
||||
setAttribute(Qt::WA_DeleteOnClose);
|
||||
|
||||
Init(dir);
|
||||
}
|
||||
|
@ -15,6 +15,7 @@
|
||||
screenshot_manager_dialog::screenshot_manager_dialog(QWidget* parent) : QDialog(parent)
|
||||
{
|
||||
setWindowTitle(tr("Screenshots"));
|
||||
setAttribute(Qt::WA_DeleteOnClose);
|
||||
|
||||
m_icon_size = QSize(160, 90);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user