From 31bb962f36c31621b311f1aee654e36ea09e8d77 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Fri, 24 Dec 2021 01:47:52 +0100 Subject: Fix reading unencrypted images --- lib/mxcreply.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') 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(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()); -- cgit v1.2.3