summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Gaist <samuel.gaist@idiap.ch>2018-11-29 22:07:51 +0100
committerSamuel Gaist <samuel.gaist@idiap.ch>2018-12-01 20:37:20 +0000
commit5d276d6a1d75d3aca9e206950125e7a77f35ef67 (patch)
tree8880cfeb0d74c9056aef3a9386064df4f15c90fa
parent17ced070fd1e55948659bc37c421f98074910599 (diff)
QNetworkConfiguration: add missing timeout unit to setConnectTimeout doc
Change-Id: I3738e989a41607244b55245222ec3c83dda68198 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
-rw-r--r--src/network/bearer/qnetworkconfiguration.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/bearer/qnetworkconfiguration.cpp b/src/network/bearer/qnetworkconfiguration.cpp
index 3367de80c8..e36903fc94 100644
--- a/src/network/bearer/qnetworkconfiguration.cpp
+++ b/src/network/bearer/qnetworkconfiguration.cpp
@@ -347,6 +347,8 @@ int QNetworkConfiguration::connectTimeout() const
This allows control of the timeout used by \c QAbstractSocket
to establish a connection.
+ \note \a timeout is in millisecond.
+
\warning This will have no effect if the bearer plugin doesn't have
the CanStartAndStopInterfaces capability.