NOISSUE replace std::shared_ptr with shared_qobject_ptr for all download tasks

This commit is contained in:
Petr Mrázek
2017-05-03 21:09:36 +02:00
parent 907aa36704
commit 0efa714ba5
10 changed files with 18 additions and 16 deletions

View File

@ -4,7 +4,7 @@
#include "multimc_logic_export.h"
typedef std::shared_ptr<class ImgurAlbumCreation> ImgurAlbumCreationPtr;
typedef shared_qobject_ptr<class ImgurAlbumCreation> ImgurAlbumCreationPtr;
class MULTIMC_LOGIC_EXPORT ImgurAlbumCreation : public NetAction
{
public:

View File

@ -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: