mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 05:07:46 +02:00
fix: use after free begone!
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
@ -37,7 +37,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QPointer>
|
||||
|
||||
#include "ExternalResourcesPage.h"
|
||||
#include "ui/dialogs/ResourceDownloadDialog.h"
|
||||
#include "ui_ExternalResourcesPage.h"
|
||||
|
||||
#include "minecraft/mod/ResourcePackFolderModel.h"
|
||||
@ -62,10 +65,12 @@ class ResourcePackPage : public ExternalResourcesPage {
|
||||
|
||||
private slots:
|
||||
void downloadResourcePacks();
|
||||
void downloadDialogFinished(int result);
|
||||
void updateResourcePacks();
|
||||
void deleteResourcePackMetadata();
|
||||
void changeResourcePackVersion();
|
||||
|
||||
protected:
|
||||
std::shared_ptr<ResourcePackFolderModel> m_model;
|
||||
QPointer<ResourceDownload::ResourceDownloadDialog> m_downloadDialog;
|
||||
};
|
||||
|
Reference in New Issue
Block a user