summaryrefslogtreecommitdiffstats
path: root/logic/net
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-10-20 17:18:53 +0200
committerPetr Mrázek <peterix@gmail.com>2015-10-20 17:18:53 +0200
commit125abf502769c2ef092a2f5516d303f0333ae802 (patch)
tree25af0ffea303f1e549ac1a298c03b6862b1b71a3 /logic/net
parent9ad99ac4816cb879ec9f1805e7b8d7d3774a9588 (diff)
downloadMultiMC-125abf502769c2ef092a2f5516d303f0333ae802.tar
MultiMC-125abf502769c2ef092a2f5516d303f0333ae802.tar.gz
MultiMC-125abf502769c2ef092a2f5516d303f0333ae802.tar.lz
MultiMC-125abf502769c2ef092a2f5516d303f0333ae802.tar.xz
MultiMC-125abf502769c2ef092a2f5516d303f0333ae802.zip
NOISSUE rename QObjectPtr to shared_qobject_ptr, introduce unique_qobject_ptr, refactor MainWindow to match
Diffstat (limited to 'logic/net')
-rw-r--r--logic/net/NetAction.h2
-rw-r--r--logic/net/NetJob.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/logic/net/NetAction.h b/logic/net/NetAction.h
index faf4dbe0..1d7eb94b 100644
--- a/logic/net/NetAction.h
+++ b/logic/net/NetAction.h
@@ -61,7 +61,7 @@ public:
public:
/// the network reply
- QObjectPtr<QNetworkReply> m_reply;
+ unique_qobject_ptr<QNetworkReply> m_reply;
/// the content of the content-type header
QString m_content_type;
diff --git a/logic/net/NetJob.h b/logic/net/NetJob.h
index 85a8bf83..45f6dacf 100644
--- a/logic/net/NetJob.h
+++ b/logic/net/NetJob.h
@@ -27,7 +27,7 @@
#include "multimc_logic_export.h"
class NetJob;
-typedef QObjectPtr<NetJob> NetJobPtr;
+typedef shared_qobject_ptr<NetJob> NetJobPtr;
class MULTIMC_LOGIC_EXPORT NetJob : public Task
{