diff options
author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2020-02-24 17:22:46 +0000 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2020-02-24 17:47:50 +0000 |
commit | 913fccee8a03e51665a16eb03979cbc5284a4b11 (patch) | |
tree | 79affbfa9b2632194a796f25f293249f45464125 /examples | |
parent | f48bf0293a682aef90e6e5b16cf5a9a06b7a32d2 (diff) | |
download | qtsvg-913fccee8a03e51665a16eb03979cbc5284a4b11.tar.gz |
Revert "Replace call to deprecated QNetworkReply::error method"
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 <marten.nordheim@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/svg/embedded/weatherinfo/weatherinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |