Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KLDAP
Commits
8166bad5
Commit
8166bad5
authored
Mar 11, 2021
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/core/ldapdn.cpp
View file @
8166bad5
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment