From 056fbf03a54b2e3ee20f8d677649e407e50cc018 Mon Sep 17 00:00:00 2001 From: Timur Pocheptsov Date: Thu, 26 Jul 2018 10:36:48 +0200 Subject: QDtls - refactor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch renames rather awkward 'remote' into more conventional 'peer' (similar to what we have in QAbstractSocket). Change-Id: Ifc45e538b8adf9cc076bd7aee693277829fd94dc Reviewed-by: Edward Welbourne Reviewed-by: MÃ¥rten Nordheim --- examples/network/secureudpclient/association.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/network/secureudpclient/association.cpp') 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); -- cgit v1.2.3