diff options
author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2018-07-26 10:36:48 +0200 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2018-07-26 15:13:57 +0000 |
commit | 056fbf03a54b2e3ee20f8d677649e407e50cc018 (patch) | |
tree | f762537cca6a2a56be614c28b8b80420c143deb4 /examples/network/secureudpclient | |
parent | eed8141a7ce5c983840aeb74d711fb8a1388d91a (diff) |
QDtls - refactor
This patch renames rather awkward 'remote' into more conventional
'peer' (similar to what we have in QAbstractSocket).
Change-Id: Ifc45e538b8adf9cc076bd7aee693277829fd94dc
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'examples/network/secureudpclient')
-rw-r--r-- | examples/network/secureudpclient/association.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/secureudpclient/association.cpp b/examples/network/secureudpclient/association.cpp index c8397b9f9f..02009fe233 100644 --- a/examples/network/secureudpclient/association.cpp +++ b/examples/network/secureudpclient/association.cpp @@ -59,7 +59,7 @@ DtlsAssociation::DtlsAssociation(const QHostAddress &address, quint16 port, { auto configuration = QSslConfiguration::defaultDtlsConfiguration(); configuration.setPeerVerifyMode(QSslSocket::VerifyNone); - crypto.setRemote(address, port); + crypto.setPeer(address, port); crypto.setDtlsConfiguration(configuration); connect(&crypto, &QDtls::handshakeTimeout, this, &DtlsAssociation::handshakeTimeout); |