Commit f1022963 authored by Tobias Junghans's avatar Tobias Junghans
Browse files

Use QStringView::split()

parent ca44b8f4
Pipeline #53799 canceled with stage
in 28 seconds
......@@ -48,7 +48,7 @@ bool LdapDN::LdapDNPrivate::isValidRDNString(const QString &rdn) const
}
// Split the rdn into the attribute name and value parts
const QVector<QStringRef> components = rdn.splitRef(QLatin1Char('='));
const auto components = QStringView(rdn).split(QLatin1Char('='));
// We should have exactly two parts
if (components.size() != 2) {
......
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