Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 6375a923 authored by Tobias Doerffel's avatar Tobias Doerffel Committed by Laurent Montel

[PATCH 10/13] ldapmodel_p: use QString::fromLatin1 instead of QLatin1String

QLatin1String should only be used for literals.
Signed-off-by: Laurent Montel's avatarMontel Laurent <>
parent 9a572c84
......@@ -122,7 +122,7 @@ void LdapModel::LdapModelPrivate::gotSearchResult(KLDAP::LdapSearch *search)
QString baseDN;
if (!searchResults().isEmpty() &&
searchResults().at(0).hasAttribute(QStringLiteral("namingContexts"))) {
baseDN = QLatin1String(searchResults().at(0).value(QStringLiteral("namingContexts")));
baseDN = QString::fromLatin1(searchResults().at(0).value(QStringLiteral("namingContexts")));
//qCDebug(LDAP_LOG) << "Found baseDN =" << baseDN;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment