summaryrefslogtreecommitdiff
path: root/core/io/http_client.cpp
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2021-06-17 19:10:18 -0400
committerAaron Franke <arnfranke@yahoo.com>2021-06-17 19:10:26 -0400
commit8b692e88726bb7ab114a3a0b1b2ffd973dd4f054 (patch)
tree724cf836dade90d435d41ceb17de71c263c2d3c4 /core/io/http_client.cpp
parent407229aeeb2302e96acc26b34b8656ace0b1a20c (diff)
Add PROPERTY_USAGE_NONE and use it
Diffstat (limited to 'core/io/http_client.cpp')
-rw-r--r--core/io/http_client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/http_client.cpp b/core/io/http_client.cpp
index 0cf870e7e7..449ebaa6ee 100644
--- a/core/io/http_client.cpp
+++ b/core/io/http_client.cpp
@@ -825,7 +825,7 @@ void HTTPClient::_bind_methods() {
ClassDB::bind_method(D_METHOD("query_string_from_dict", "fields"), &HTTPClient::query_string_from_dict);
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "blocking_mode_enabled"), "set_blocking_mode", "is_blocking_mode_enabled");
- ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "connection", PROPERTY_HINT_RESOURCE_TYPE, "StreamPeer", 0), "set_connection", "get_connection");
+ ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "connection", PROPERTY_HINT_RESOURCE_TYPE, "StreamPeer", PROPERTY_USAGE_NONE), "set_connection", "get_connection");
ADD_PROPERTY(PropertyInfo(Variant::INT, "read_chunk_size", PROPERTY_HINT_RANGE, "256,16777216"), "set_read_chunk_size", "get_read_chunk_size");
BIND_ENUM_CONSTANT(METHOD_GET);