LdapUrl: remove ctor code which made the QUrl invalid.
ClosedPublic

Authored by dfaure on Apr 20 2018, 5:31 PM.

Details

Summary

dn() already takes care of removing the leading slash from the path
anyway.

This only showed up during debugging of a new unittest, because actual
kioslave code (which is where LdapUrl is built from QUrl) only queries
for components out of the LdapUrl, not for the full string
representation.

Test Plan

unittest in next commit

Diff Detail

Repository
R178 PIM: KLDAP
Branch
ctor
Lint
No Linters Available
Unit
No Unit Test Coverage
dfaure created this revision.Apr 20 2018, 5:31 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptApr 20 2018, 5:31 PM
dfaure requested review of this revision.Apr 20 2018, 5:31 PM
mlaurent accepted this revision.Apr 21 2018, 1:55 PM
This revision is now accepted and ready to land.Apr 21 2018, 1:55 PM
dfaure closed this revision.Apr 21 2018, 1:57 PM