diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-05-03 23:11:52 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-05-03 23:13:49 +0200 |
commit | e76e6329cdf4f1613c6303debd3ca43493147f7b (patch) | |
tree | 69a21f72da050a7c67435eae8850a73942ada1bd /api/logic/screenshots/ImgurUpload.h | |
parent | 0efa714ba55a33ea6dbcbd08b50c0b09675ce83b (diff) | |
download | MultiMC-e76e6329cdf4f1613c6303debd3ca43493147f7b.tar MultiMC-e76e6329cdf4f1613c6303debd3ca43493147f7b.tar.gz MultiMC-e76e6329cdf4f1613c6303debd3ca43493147f7b.tar.lz MultiMC-e76e6329cdf4f1613c6303debd3ca43493147f7b.tar.xz MultiMC-e76e6329cdf4f1613c6303debd3ca43493147f7b.zip |
NOISSUE Revert all recent changes to NetAction and NetJob
Diffstat (limited to 'api/logic/screenshots/ImgurUpload.h')
-rw-r--r-- | api/logic/screenshots/ImgurUpload.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/api/logic/screenshots/ImgurUpload.h b/api/logic/screenshots/ImgurUpload.h index fed650f0..0a766b8f 100644 --- a/api/logic/screenshots/ImgurUpload.h +++ b/api/logic/screenshots/ImgurUpload.h @@ -1,11 +1,10 @@ #pragma once #include "net/NetAction.h" #include "Screenshot.h" -#include "QObjectPtr.h" #include "multimc_logic_export.h" -typedef shared_qobject_ptr<class ImgurUpload> ImgurUploadPtr; +typedef std::shared_ptr<class ImgurUpload> ImgurUploadPtr; class MULTIMC_LOGIC_EXPORT ImgurUpload : public NetAction { public: @@ -26,7 +25,7 @@ slots: public slots: - virtual void executeTask(); + virtual void start(); private: ScreenshotPtr m_shot; |