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
f93b58ca
Commit
f93b58ca
authored
Dec 01, 2020
by
Laurent Montel
😁
Browse files
Minor optimization
parent
adc82eee
Pipeline
#42636
passed with stage
in 8 minutes and 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/widgets/ldapclient.cpp
View file @
f93b58ca
...
...
@@ -105,9 +105,7 @@ void LdapClient::setScope(const QString &scope)
void
LdapClient
::
startQuery
(
const
QString
&
filter
)
{
cancelQuery
();
KLDAP
::
LdapUrl
url
;
url
=
d
->
mServer
.
url
();
KLDAP
::
LdapUrl
url
{
d
->
mServer
.
url
()};
url
.
setAttributes
(
d
->
mAttrs
);
url
.
setScope
(
d
->
mScope
==
QLatin1String
(
"one"
)
?
KLDAP
::
LdapUrl
::
One
:
KLDAP
::
LdapUrl
::
Sub
);
...
...
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