aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/mod/TexturePackFolderModel.cpp
diff options
context:
space:
mode:
authorflow <flowlnlnln@gmail.com>2023-05-28 10:11:43 -0300
committerGitHub <noreply@github.com>2023-05-28 10:11:43 -0300
commitce2d58bb7d7e99da61b906253c0fea7815a82862 (patch)
treef958cd21fee8cba488e82229a1457db368079221 /launcher/minecraft/mod/TexturePackFolderModel.cpp
parentf24211e8b5d9af24ac3e27b0fdb50000a962c35f (diff)
parent7af116fb006e2eb62429740bd0abbe14f50ff244 (diff)
downloadPrismLauncher-ce2d58bb7d7e99da61b906253c0fea7815a82862.tar.gz
PrismLauncher-ce2d58bb7d7e99da61b906253c0fea7815a82862.tar.bz2
PrismLauncher-ce2d58bb7d7e99da61b906253c0fea7815a82862.zip
Merge pull request #1083 from Ryex/fix/memory-leaks-develop
Diffstat (limited to 'launcher/minecraft/mod/TexturePackFolderModel.cpp')
-rw-r--r--launcher/minecraft/mod/TexturePackFolderModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/minecraft/mod/TexturePackFolderModel.cpp b/launcher/minecraft/mod/TexturePackFolderModel.cpp
index 1e218537..c6609ed1 100644
--- a/launcher/minecraft/mod/TexturePackFolderModel.cpp
+++ b/launcher/minecraft/mod/TexturePackFolderModel.cpp
@@ -39,7 +39,7 @@
#include "minecraft/mod/tasks/BasicFolderLoadTask.h"
#include "minecraft/mod/tasks/LocalTexturePackParseTask.h"
-TexturePackFolderModel::TexturePackFolderModel(const QString& dir, std::shared_ptr<const BaseInstance> instance)
+TexturePackFolderModel::TexturePackFolderModel(const QString& dir, BaseInstance* instance)
: ResourceFolderModel(QDir(dir), instance)
{}