summaryrefslogtreecommitdiffstats
path: root/tests/auto/xml/sax/qxmlinputsource
diff options
context:
space:
mode:
authorTimur Pocheptsov <timur.pocheptsov@qt.io>2020-01-10 14:15:35 +0100
committerTimur Pocheptsov <timur.pocheptsov@qt.io>2020-01-13 15:50:47 +0100
commitccb2cb84f535b0bfce19a95d7f3a36803480cae8 (patch)
tree11bdd158aaf56f1c18fcb92f8f37d9e5f4ef066b /tests/auto/xml/sax/qxmlinputsource
parent46b433b971999610dcc007a6f57ef4045d159548 (diff)
QNetworkReply: deprecate the 'error' getter
To disambiguate &QNetworkReply::error expression. [ChangeLog][Deprecation Notice] QNetworkReply::error() (the getter) was deprecated; superseded by networkError(). Task-number: QTBUG-80369 Change-Id: I545f963788bce0800c9e0f0c94d5f1029946effe Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'tests/auto/xml/sax/qxmlinputsource')
-rw-r--r--tests/auto/xml/sax/qxmlinputsource/tst_qxmlinputsource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/xml/sax/qxmlinputsource/tst_qxmlinputsource.cpp b/tests/auto/xml/sax/qxmlinputsource/tst_qxmlinputsource.cpp
index afdcc825d8..5dce69bd8c 100644
--- a/tests/auto/xml/sax/qxmlinputsource/tst_qxmlinputsource.cpp
+++ b/tests/auto/xml/sax/qxmlinputsource/tst_qxmlinputsource.cpp
@@ -149,7 +149,7 @@ public slots:
void requestFinished(QNetworkReply *reply)
{
- QCOMPARE(reply->error(), QNetworkReply::NoError);
+ QCOMPARE(reply->networkError(), QNetworkReply::NoError);
reply->deleteLater();
}