aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppPresence.cpp
diff options
context:
space:
mode:
authorLinus Jahn <lnj@kaidan.im>2023-01-31 19:55:13 +0100
committerLinus Jahn <lnj@kaidan.im>2023-01-31 19:55:42 +0100
commit1a79303169e245891a911174b6f1fa87fd177597 (patch)
treefe9d1ce5bae58d8a51255370257b3c0c3f699e73 /src/base/QXmppPresence.cpp
parenta97ae4c0fa96666326c29e7bacad92c8082598ae (diff)
downloadqxmpp-1a79303169e245891a911174b6f1fa87fd177597.tar.gz
Remove Qt < 5.15 compat code
Diffstat (limited to 'src/base/QXmppPresence.cpp')
-rw-r--r--src/base/QXmppPresence.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/base/QXmppPresence.cpp b/src/base/QXmppPresence.cpp
index 059bd642..dd66e30d 100644
--- a/src/base/QXmppPresence.cpp
+++ b/src/base/QXmppPresence.cpp
@@ -482,11 +482,7 @@ void QXmppPresence::parseExtension(const QDomElement &element, QXmppElementList
d->capabilityNode = element.attribute(QStringLiteral("node"));
d->capabilityVer = QByteArray::fromBase64(element.attribute(QStringLiteral("ver")).toLatin1());
d->capabilityHash = element.attribute(QStringLiteral("hash"));
-#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
d->capabilityExt = element.attribute(QStringLiteral("ext")).split(' ', Qt::SkipEmptyParts);
-#else
- d->capabilityExt = element.attribute(QStringLiteral("ext")).split(' ', QString::SkipEmptyParts);
-#endif
// XEP-0153: vCard-Based Avatars
} else if (element.namespaceURI() == ns_vcard_update) {
QDomElement photoElement = element.firstChildElement(QStringLiteral("photo"));