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
7c35f4d4
Commit
7c35f4d4
authored
Apr 21, 2021
by
Laurent Montel
😁
Browse files
In kf6 kde4 migration code will be removed
parent
882d973a
Pipeline
#58989
passed with stage
in 4 minutes and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/widgets/ldapclientsearch.cpp
View file @
7c35f4d4
...
...
@@ -24,7 +24,10 @@
#include <KConfigGroup>
#include <KDirWatch>
#include <KProtocolInfo>
#include <kcoreaddons_version.h>
#if KCOREADDONS_VERSION < QT_VERSION_CHECK(6, 0, 0)
#include <Kdelibs4ConfigMigrator>
#endif
#include <kio/job.h>
...
...
@@ -90,9 +93,11 @@ LdapClientSearch::~LdapClientSearch()
void
LdapClientSearch
::
Private
::
init
(
const
QStringList
&
attributes
)
{
#if KCOREADDONS_VERSION < QT_VERSION_CHECK(6, 0, 0)
Kdelibs4ConfigMigrator
migrate
(
QStringLiteral
(
"ldapsettings"
));
migrate
.
setConfigFiles
(
QStringList
()
<<
QStringLiteral
(
"kabldaprc"
));
migrate
.
migrate
();
#endif
if
(
!
KProtocolInfo
::
isKnownProtocol
(
QUrl
(
QStringLiteral
(
"ldap://localhost"
))))
{
mNoLDAPLookup
=
true
;
...
...
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