summaryrefslogtreecommitdiffstats
path: root/examples/xml
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2020-02-29 11:39:58 +0100
committerTimur Pocheptsov <timur.pocheptsov@qt.io>2020-03-03 18:25:57 +0100
commit8f8eb99991216c0833c23a0f068e036a70e3b060 (patch)
tree2f566ba053c04e24f46fdc9dc27de828c8ec108a /examples/xml
parentdd0a197be40bdec1af02e58f50926afb11af9509 (diff)
QNetworkReply: Deprecate 'error' signal, use 'errorOccurred' instead
[ChangeLog][Deprecation Notice] QNetworkReply::error() (the signal) is deprecated; superseded by errorOccurred() Change-Id: I4f1ef410fd22d34ddf87e89cc5709cc60703af95 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'examples/xml')
-rw-r--r--examples/xml/rsslisting/rsslisting.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/xml/rsslisting/rsslisting.cpp b/examples/xml/rsslisting/rsslisting.cpp
index d1b4373531..143ad6dcba 100644
--- a/examples/xml/rsslisting/rsslisting.cpp
+++ b/examples/xml/rsslisting/rsslisting.cpp
@@ -131,7 +131,7 @@ void RSSListing::get(const QUrl &url)
currentReply = manager.get(request);
connect(currentReply, SIGNAL(readyRead()), this, SLOT(readyRead()));
connect(currentReply, SIGNAL(metaDataChanged()), this, SLOT(metaDataChanged()));
- connect(currentReply, SIGNAL(error(QNetworkReply::NetworkError)), this, SLOT(error(QNetworkReply::NetworkError)));
+ connect(currentReply, SIGNAL(errorOccurred(QNetworkReply::NetworkError)), this, SLOT(error(QNetworkReply::NetworkError)));
}
/*