Commit 8166bad5 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

This method seems to not exist in qt5.14 (we depend against 5.14)

CCMAIL: tobydox@veyon.io
parent f1022963
Pipeline #53801 passed with stage
in 7 minutes and 58 seconds
......@@ -46,10 +46,12 @@ bool LdapDN::LdapDNPrivate::isValidRDNString(const QString &rdn) const
}
return true;
}
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
const QVector<QStringRef> components = rdn.splitRef(QLatin1Char('='));
#else
// Split the rdn into the attribute name and value parts
const auto components = QStringView(rdn).split(QLatin1Char('='));
#endif
// We should have exactly two parts
if (components.size() != 2) {
return false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment