summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/network/access/qnetworkreply.cpp3
-rw-r--r--src/network/access/qnetworkreply.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/network/access/qnetworkreply.cpp b/src/network/access/qnetworkreply.cpp
index 1a659470bc..aefe07223f 100644
--- a/src/network/access/qnetworkreply.cpp
+++ b/src/network/access/qnetworkreply.cpp
@@ -134,6 +134,9 @@ QNetworkReplyPrivate::QNetworkReplyPrivate()
\value NetworkSessionFailedError the connection was broken due
to disconnection from the network or failure to start the network.
+ \value BackgroundRequestNotAllowedError the background request
+ is not currently allowed due to platform policy.
+
\value ProxyConnectionRefusedError the connection to the proxy
server was refused (the proxy server is not accepting requests)
diff --git a/src/network/access/qnetworkreply.h b/src/network/access/qnetworkreply.h
index fd75286eba..e514779a0a 100644
--- a/src/network/access/qnetworkreply.h
+++ b/src/network/access/qnetworkreply.h
@@ -78,6 +78,7 @@ public:
SslHandshakeFailedError,
TemporaryNetworkFailureError,
NetworkSessionFailedError,
+ BackgroundRequestNotAllowedError,
UnknownNetworkError = 99,
// proxy errors (101-199):