fix: use after free begone!
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
parent
da30904630
commit
d0ccd110a1
10 changed files with 86 additions and 26 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue