summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilian Wolff <mail@milianw.de>2016-08-21 19:59:01 (GMT)
committerMilian Wolff <mail@milianw.de>2016-08-21 19:59:01 (GMT)
commit1dff5d5aee9a8ebdc6b38faa9791b6cdb60674a2 (patch)
tree06ea3ed34080c32eeb24ad4b6af2c2beec3e9ca9
parentf0689cea597e9131ef12a138bf112829bff80bee (diff)
Use non-deprecated QSsl::TlsV1_0.
::TlsV1 is deprecated but according to the docs it is equivalent to TlsV1_0. Fixes the compile for me.
-rw-r--r--src/socket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.cpp b/src/socket.cpp
index 0840c8b..9d5f876 100644
--- a/src/socket.cpp
+++ b/src/socket.cpp
@@ -202,7 +202,7 @@ bool Socket::available()
void Socket::startTLS()
{
qCDebug(MAILTRANSPORT_LOG) << objectName();
- d->socket->setProtocol(QSsl::TlsV1);
+ d->socket->setProtocol(QSsl::TlsV1_0);
d->socket->startClientEncryption();
}