diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-03-28 20:52:14 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-03-28 20:52:14 +0200 |
commit | 53b4bd019fe6b34559da1ce9c92533c9f79301ac (patch) | |
tree | 2673f44ed5a46fcc7670b87277ff96d2847fbffc /logic/net/NetAction.h | |
parent | f032e32133023ed8396fc2b6ead7eadc2816a25b (diff) | |
download | PrismLauncher-53b4bd019fe6b34559da1ce9c92533c9f79301ac.tar.gz PrismLauncher-53b4bd019fe6b34559da1ce9c92533c9f79301ac.tar.bz2 PrismLauncher-53b4bd019fe6b34559da1ce9c92533c9f79301ac.zip |
NOISSUE fix bug in unpacking of forge pack200 jar files
This caused failed downloads and broken files to be used.
Diffstat (limited to 'logic/net/NetAction.h')
-rw-r--r-- | logic/net/NetAction.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/logic/net/NetAction.h b/logic/net/NetAction.h index 1d7eb94b..3c395605 100644 --- a/logic/net/NetAction.h +++ b/logic/net/NetAction.h @@ -32,7 +32,7 @@ enum JobStatus }; typedef std::shared_ptr<class NetAction> NetActionPtr; -class MULTIMC_LOGIC_EXPORT NetAction : public QObject, public std::enable_shared_from_this<NetAction> +class MULTIMC_LOGIC_EXPORT NetAction : public QObject { Q_OBJECT protected: @@ -54,10 +54,6 @@ public: { return m_failures; } - NetActionPtr getSharedPtr() - { - return shared_from_this(); - } public: /// the network reply |