summaryrefslogtreecommitdiffstats
path: root/logic/net/ByteArrayDownload.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/net/ByteArrayDownload.cpp')
-rw-r--r--logic/net/ByteArrayDownload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/net/ByteArrayDownload.cpp b/logic/net/ByteArrayDownload.cpp
index 9f71f911..7a41ee28 100644
--- a/logic/net/ByteArrayDownload.cpp
+++ b/logic/net/ByteArrayDownload.cpp
@@ -31,7 +31,7 @@ void ByteArrayDownload::start()
auto worker = ENV.qnam();
QNetworkReply *rep = worker->get(request);
- m_reply = std::shared_ptr<QNetworkReply>(rep);
+ m_reply.reset(rep);
connect(rep, SIGNAL(downloadProgress(qint64, qint64)),
SLOT(downloadProgress(qint64, qint64)));
connect(rep, SIGNAL(finished()), SLOT(downloadFinished()));