summaryrefslogtreecommitdiffstats
path: root/src/network/access
diff options
context:
space:
mode:
authorSune Vuorela <sune@vuorela.dk>2016-09-13 19:47:00 +0200
committerSune Vuorela <sune@vuorela.dk>2016-09-15 17:30:59 +0000
commit4ac150682ab77cd4e2de9b1b01dbd725465ea8c1 (patch)
tree86a36f8f6bc19b3a39033f9e2c0b61ea6a427391 /src/network/access
parent6aa935cd92deb035739e8fea329ca2c4a435de54 (diff)
API Review: Don't reorder existing enum values
Inserting things into the middle of an enum breaks backwards compatibility, so don't do that. Change-Id: Ie8e2768e8681f0237e7f233f4461f884b4b1b4f9 Reviewed-by: Richard J. Moore <rich@kde.org> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/network/access')
-rw-r--r--src/network/access/qnetworkrequest.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/access/qnetworkrequest.h b/src/network/access/qnetworkrequest.h
index 00375f285c..ad8f5bddd9 100644
--- a/src/network/access/qnetworkrequest.h
+++ b/src/network/access/qnetworkrequest.h
@@ -87,10 +87,10 @@ public:
BackgroundRequestAttribute,
SpdyAllowedAttribute,
SpdyWasUsedAttribute,
- HTTP2AllowedAttribute,
- HTTP2WasUsedAttribute,
EmitAllUploadProgressSignalsAttribute,
FollowRedirectsAttribute,
+ HTTP2AllowedAttribute,
+ HTTP2WasUsedAttribute,
User = 1000,
UserMax = 32767