Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
PimCommon
Commits
98bece68
Commit
98bece68
authored
Dec 04, 2020
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use async api now
parent
5aa37454
Pipeline
#42948
failed with stage
in 10 minutes and 56 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
CMakeLists.txt
CMakeLists.txt
+1
-1
src/pimcommonakonadi/ldap/ldapsearchdialog.cpp
src/pimcommonakonadi/ldap/ldapsearchdialog.cpp
+7
-3
No files found.
CMakeLists.txt
View file @
98bece68
...
...
@@ -34,7 +34,7 @@ set(KMIME_LIB_VERSION "5.16.40")
set
(
KIMAP_LIB_VERSION
"5.16.40"
)
set
(
KPIMTEXTEDIT_LIB_VERSION
"5.16.40"
)
set
(
AKONADI_VERSION
"5.16.40"
)
set
(
KLDAP_LIB_VERSION
"5.16.4
0
"
)
set
(
KLDAP_LIB_VERSION
"5.16.4
2
"
)
set
(
GRANTLEETHEME_LIB_VERSION
"5.16.40"
)
find_package
(
Qt5
${
QT_REQUIRED_VERSION
}
CONFIG REQUIRED Widgets DBus Network Test Xml PrintSupport
)
...
...
src/pimcommonakonadi/ldap/ldapsearchdialog.cpp
View file @
98bece68
...
...
@@ -12,6 +12,7 @@
#include <KLDAP/LdapClient>
#include <KLDAP/LdapClientSearchConfig>
#include <KLDAP/LdapSearchClientReadConfigServerJob>
#include <Libkdepim/ProgressIndicatorLabel>
#include <Libkdepim/LineEditCatchReturnKey>
...
...
@@ -670,10 +671,13 @@ void LdapSearchDialog::Private::restoreSettings()
mIsConfigured
=
true
;
auto
*
clientSearchConfig
=
new
KLDAP
::
LdapClientSearchConfig
;
for
(
int
j
=
0
;
j
<
mNumHosts
;
++
j
)
{
KLDAP
::
LdapServer
ldapServer
;
auto
*
ldapClient
=
new
KLDAP
::
LdapClient
(
0
,
q
);
clientSearchConfig
->
readConfig
(
ldapServer
,
group
,
j
,
true
);
ldapClient
->
setServer
(
ldapServer
);
auto
*
job
=
new
KLDAP
::
LdapSearchClientReadConfigServerJob
(
q
);
job
->
setCurrentIndex
(
j
);
job
->
setActive
(
true
);
job
->
setConfig
(
group
);
job
->
setLdapClient
(
ldapClient
);
job
->
start
();
QStringList
attrs
;
QMap
<
QString
,
QString
>::
ConstIterator
end
(
adrbookattr2ldap
().
constEnd
());
...
...
Write
Preview
Markdown
is supported
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