aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/mxcreply.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mxcreply.cpp b/lib/mxcreply.cpp
index 2ad49c2c..c7f27b0c 100644
--- a/lib/mxcreply.cpp
+++ b/lib/mxcreply.cpp
@@ -29,6 +29,7 @@ public:
MxcReply::MxcReply(QNetworkReply* reply)
: d(std::make_unique<Private>(reply))
{
+ d->m_device = d->m_reply;
reply->setParent(this);
connect(d->m_reply, &QNetworkReply::finished, this, [this]() {
setError(d->m_reply->error(), d->m_reply->errorString());