forked from qt-creator/qt-creator
QmlDesigner: Fix leak in FileDownloader
Fix QNetworkReply in FileDownloader not being deleted. Change-Id: I037a00b4351029e28b887ecbd4205b743284a6f7 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
committed by
Henning Gründl
parent
50aa8fedd2
commit
43bf597611
@@ -253,6 +253,8 @@ void FileDownloader::doProbeUrl()
|
|||||||
|
|
||||||
m_available = true;
|
m_available = true;
|
||||||
emit availableChanged();
|
emit availableChanged();
|
||||||
|
|
||||||
|
reply->deleteLater();
|
||||||
});
|
});
|
||||||
|
|
||||||
QNetworkReply::connect(reply,
|
QNetworkReply::connect(reply,
|
||||||
|
Reference in New Issue
Block a user