summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft/forge/ForgeXzDownload.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-05-03 21:09:36 +0200
committerPetr Mrázek <peterix@gmail.com>2017-05-03 21:09:36 +0200
commit0efa714ba55a33ea6dbcbd08b50c0b09675ce83b (patch)
treece808691e468d1a82a65dbcc9ed76cb29e59489e /api/logic/minecraft/forge/ForgeXzDownload.h
parent907aa367046bde6ad05893917cff11320019ddda (diff)
downloadMultiMC-0efa714ba55a33ea6dbcbd08b50c0b09675ce83b.tar
MultiMC-0efa714ba55a33ea6dbcbd08b50c0b09675ce83b.tar.gz
MultiMC-0efa714ba55a33ea6dbcbd08b50c0b09675ce83b.tar.lz
MultiMC-0efa714ba55a33ea6dbcbd08b50c0b09675ce83b.tar.xz
MultiMC-0efa714ba55a33ea6dbcbd08b50c0b09675ce83b.zip
NOISSUE replace std::shared_ptr with shared_qobject_ptr for all download tasks
Diffstat (limited to 'api/logic/minecraft/forge/ForgeXzDownload.h')
-rw-r--r--api/logic/minecraft/forge/ForgeXzDownload.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/api/logic/minecraft/forge/ForgeXzDownload.h b/api/logic/minecraft/forge/ForgeXzDownload.h
index ede4e6ce..8d6ad74a 100644
--- a/api/logic/minecraft/forge/ForgeXzDownload.h
+++ b/api/logic/minecraft/forge/ForgeXzDownload.h
@@ -19,8 +19,9 @@
#include "net/HttpMetaCache.h"
#include <QFile>
#include <QTemporaryFile>
+#include "QObjectPtr.h"
-typedef std::shared_ptr<class ForgeXzDownload> ForgeXzDownloadPtr;
+typedef shared_qobject_ptr<class ForgeXzDownload> ForgeXzDownloadPtr;
class ForgeXzDownload : public NetAction
{