aboutsummaryrefslogtreecommitdiff
path: root/src/server/QXmppOutgoingServer.cpp
diff options
context:
space:
mode:
authorNiels Ole Salscheider <niels_ole@salscheider-online.de>2017-09-03 22:00:29 +0200
committerNiels Ole Salscheider <niels_ole@salscheider-online.de>2017-09-04 19:44:01 +0200
commit2a5ccd3bd191b75b9fa148a8fa7f3d3ddc225add (patch)
treed8cd64a20fbe77a78be7c9533787044157190442 /src/server/QXmppOutgoingServer.cpp
parent3241e63f07c5fa493788897ddfb87a201205f621 (diff)
Drop support for Qt 4
Diffstat (limited to 'src/server/QXmppOutgoingServer.cpp')
-rw-r--r--src/server/QXmppOutgoingServer.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/server/QXmppOutgoingServer.cpp b/src/server/QXmppOutgoingServer.cpp
index 3855da4d..2da1628a 100644
--- a/src/server/QXmppOutgoingServer.cpp
+++ b/src/server/QXmppOutgoingServer.cpp
@@ -25,11 +25,7 @@
#include <QSslKey>
#include <QSslSocket>
#include <QTimer>
-#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
#include <QDnsLookup>
-#else
-#include "qdnslookup.h"
-#endif
#include "QXmppConstants_p.h"
#include "QXmppDialback.h"
@@ -137,10 +133,8 @@ void QXmppOutgoingServer::_q_dnsLookupFinished()
port = 5269;
}
-#if (QT_VERSION >= QT_VERSION_CHECK(4, 8, 0))
// set the name the SSL certificate should match
socket()->setPeerVerifyName(d->remoteDomain);
-#endif
// connect to server
info(QString("Connecting to %1:%2").arg(host, QString::number(port)));