aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/pages/modplatform/modrinth/ModrinthModel.h
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-07-02 13:14:19 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-07-02 13:14:19 +0300
commit7ac2a23bc8083f0320d73af32f62ad97a407557b (patch)
treefc4004dacb288ebefce9420099cc29f67383d41a /launcher/ui/pages/modplatform/modrinth/ModrinthModel.h
parentf8adb508ab0152af76829e0fdee92b451dcc1acf (diff)
parentb51f1f1d41a6153c37b1d61a04df8ece5004cc27 (diff)
downloadPrismLauncher-7ac2a23bc8083f0320d73af32f62ad97a407557b.tar.gz
PrismLauncher-7ac2a23bc8083f0320d73af32f62ad97a407557b.tar.bz2
PrismLauncher-7ac2a23bc8083f0320d73af32f62ad97a407557b.zip
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into catpacks
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