mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Fix memory leak and crash with data packs modal
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
de60d804a1
commit
28eba8ed43
1 changed files with 1 additions and 0 deletions
|
|
@ -259,6 +259,7 @@ void WorldListPage::on_actionData_Packs_triggered()
|
|||
|
||||
dialog->setLayout(layout);
|
||||
|
||||
dialog->setAttribute(Qt::WA_DeleteOnClose);
|
||||
dialog->exec();
|
||||
|
||||
APPLICATION->settings()->set("DataPackDownloadGeometry", dialog->saveGeometry().toBase64());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue