diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-05-03 21:09:36 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-05-03 21:09:36 +0200 |
commit | 0efa714ba55a33ea6dbcbd08b50c0b09675ce83b (patch) | |
tree | ce808691e468d1a82a65dbcc9ed76cb29e59489e /api/logic/screenshots/ImgurUpload.h | |
parent | 907aa367046bde6ad05893917cff11320019ddda (diff) | |
download | PrismLauncher-0efa714ba55a33ea6dbcbd08b50c0b09675ce83b.tar.gz PrismLauncher-0efa714ba55a33ea6dbcbd08b50c0b09675ce83b.tar.bz2 PrismLauncher-0efa714ba55a33ea6dbcbd08b50c0b09675ce83b.zip |
NOISSUE replace std::shared_ptr with shared_qobject_ptr for all download tasks
Diffstat (limited to 'api/logic/screenshots/ImgurUpload.h')
-rw-r--r-- | api/logic/screenshots/ImgurUpload.h | 3 |
1 files changed, 2 insertions, 1 deletions
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<class ImgurUpload> ImgurUploadPtr; +typedef shared_qobject_ptr<class ImgurUpload> ImgurUploadPtr; class MULTIMC_LOGIC_EXPORT ImgurUpload : public NetAction { public: |