diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2020-01-14 08:49:11 +0100 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2020-01-17 05:51:43 +0100 |
commit | e5a4ba4a5573ace08def218b985dde83de0805fb (patch) | |
tree | f027a26d690dcbe7ac267c81dba3098f9bdcb65c /src/qml/qml/qqmlfile.cpp | |
parent | 7b4275b541808a5c26b2524b3bde2b1f9bc56fc1 (diff) |
Replace call to deprecated QNetworkReply::error method
Change-Id: I14198038a01acdd415e90fd733dc03b122591179
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlfile.cpp')
-rw-r--r-- | src/qml/qml/qqmlfile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlfile.cpp b/src/qml/qml/qqmlfile.cpp index 465a342129..ee54359d0f 100644 --- a/src/qml/qml/qqmlfile.cpp +++ b/src/qml/qml/qqmlfile.cpp @@ -187,7 +187,7 @@ void QQmlFileNetworkReply::networkFinished() } } - if (m_reply->error()) { + if (m_reply->networkError()) { m_p->errorString = m_reply->errorString(); m_p->error = QQmlFilePrivate::Network; } else { |