summaryrefslogtreecommitdiffstats
path: root/api/logic/screenshots/ImgurUpload.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-05-03 23:11:52 +0200
committerPetr Mrázek <peterix@gmail.com>2017-05-03 23:13:49 +0200
commite76e6329cdf4f1613c6303debd3ca43493147f7b (patch)
tree69a21f72da050a7c67435eae8850a73942ada1bd /api/logic/screenshots/ImgurUpload.h
parent0efa714ba55a33ea6dbcbd08b50c0b09675ce83b (diff)
downloadMultiMC-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.h5
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;