aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/pages/modplatform/modrinth/ModrinthModel.h
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-06-23 19:35:47 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-06-23 19:35:47 +0300
commitcb2671a02c38de98c6671842a8bd7dcffcd6441b (patch)
tree6ad73a50c1498e61f3d4f899465cf31a5b7619e0 /launcher/ui/pages/modplatform/modrinth/ModrinthModel.h
parent0a566318315c4e1566cb4ef7c99321a025e998a2 (diff)
parent046d510134a0061c0a1fa89fda80355c9e2f11ff (diff)
downloadPrismLauncher-cb2671a02c38de98c6671842a8bd7dcffcd6441b.tar.gz
PrismLauncher-cb2671a02c38de98c6671842a8bd7dcffcd6441b.tar.bz2
PrismLauncher-cb2671a02c38de98c6671842a8bd7dcffcd6441b.zip
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into curse
Diffstat (limited to 'launcher/ui/pages/modplatform/modrinth/ModrinthModel.h')
-rw-r--r--launcher/ui/pages/modplatform/modrinth/ModrinthModel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/launcher/ui/pages/modplatform/modrinth/ModrinthModel.h b/launcher/ui/pages/modplatform/modrinth/ModrinthModel.h
index 6e6be4b9..b9e9c3da 100644
--- a/launcher/ui/pages/modplatform/modrinth/ModrinthModel.h
+++ b/launcher/ui/pages/modplatform/modrinth/ModrinthModel.h
@@ -110,9 +110,9 @@ class ModpackListModel : public QAbstractListModel {
NetJob::Ptr jobPtr;
- QByteArray m_all_response;
+ std::shared_ptr<QByteArray> m_all_response = std::make_shared<QByteArray>();
QByteArray m_specific_response;
int m_modpacks_per_page = 20;
};
-} // namespace ModPlatform
+} // namespace Modrinth