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,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QPointer>
|
||||
#include "ExternalResourcesPage.h"
|
||||
#include "ui/dialogs/ResourceDownloadDialog.h"
|
||||
|
||||
class ShaderPackPage : public ExternalResourcesPage {
|
||||
Q_OBJECT
|
||||
@ -54,10 +56,12 @@ class ShaderPackPage : public ExternalResourcesPage {
|
||||
|
||||
public slots:
|
||||
void downloadShaderPack();
|
||||
void downloadDialogFinished(int result);
|
||||
void updateShaderPacks();
|
||||
void deleteShaderPackMetadata();
|
||||
void changeShaderPackVersion();
|
||||
|
||||
private:
|
||||
std::shared_ptr<ShaderPackFolderModel> m_model;
|
||||
QPointer<ResourceDownload::ShaderPackDownloadDialog> m_downloadDialog;
|
||||
};
|
||||
|
Reference in New Issue
Block a user