From 913fccee8a03e51665a16eb03979cbc5284a4b11 Mon Sep 17 00:00:00 2001 From: Timur Pocheptsov Date: Mon, 24 Feb 2020 17:22:46 +0000 Subject: Revert "Replace call to deprecated QNetworkReply::error method" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 88f30c3f5be38fb9cb6886a683a71ae792e61c61. Reason for revert: it was decided to use errorOccured as the name for the signal, thus we reverting this change. Change-Id: Ibc147869317e7d68162e677fcac08707d730ddb5 Reviewed-by: MÃ¥rten Nordheim --- examples/svg/embedded/weatherinfo/weatherinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/svg/embedded/weatherinfo/weatherinfo.cpp b/examples/svg/embedded/weatherinfo/weatherinfo.cpp index 24a3bd7..21aa986 100644 --- a/examples/svg/embedded/weatherinfo/weatherinfo.cpp +++ b/examples/svg/embedded/weatherinfo/weatherinfo.cpp @@ -140,7 +140,7 @@ private slots: void handleNetworkData(QNetworkReply *networkReply) { QUrl url = networkReply->url(); - if (!networkReply->networkError()) + if (!networkReply->error()) digest(QString::fromUtf8(networkReply->readAll())); networkReply->deleteLater(); } -- cgit v1.2.1