From 0efa714ba55a33ea6dbcbd08b50c0b09675ce83b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Wed, 3 May 2017 21:09:36 +0200 Subject: NOISSUE replace std::shared_ptr with shared_qobject_ptr for all download tasks --- api/logic/screenshots/ImgurAlbumCreation.h | 2 +- api/logic/screenshots/ImgurUpload.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'api/logic/screenshots') diff --git a/api/logic/screenshots/ImgurAlbumCreation.h b/api/logic/screenshots/ImgurAlbumCreation.h index af5b9a2f..dd398491 100644 --- a/api/logic/screenshots/ImgurAlbumCreation.h +++ b/api/logic/screenshots/ImgurAlbumCreation.h @@ -4,7 +4,7 @@ #include "multimc_logic_export.h" -typedef std::shared_ptr ImgurAlbumCreationPtr; +typedef shared_qobject_ptr ImgurAlbumCreationPtr; class MULTIMC_LOGIC_EXPORT ImgurAlbumCreation : public NetAction { public: diff --git a/api/logic/screenshots/ImgurUpload.h b/api/logic/screenshots/ImgurUpload.h index 4fcf5233..fed650f0 100644 --- a/api/logic/screenshots/ImgurUpload.h +++ b/api/logic/screenshots/ImgurUpload.h @@ -1,10 +1,11 @@ #pragma once #include "net/NetAction.h" #include "Screenshot.h" +#include "QObjectPtr.h" #include "multimc_logic_export.h" -typedef std::shared_ptr ImgurUploadPtr; +typedef shared_qobject_ptr ImgurUploadPtr; class MULTIMC_LOGIC_EXPORT ImgurUpload : public NetAction { public: -- cgit v1.2.3