Commit ef97dcc5 authored by Sergio Martins's avatar Sergio Martins
Browse files

Pass QChar by value

parent c4900a75
......@@ -33,7 +33,7 @@ public:
~LdapDNPrivate() {}
bool isValidRDNString(const QString &rdn) const;
QStringList splitOnNonEscapedChar(const QString &rdn, const QChar &ch) const;
QStringList splitOnNonEscapedChar(const QString &rdn, QChar ch) const;
QString m_dn;
};
......@@ -65,8 +65,7 @@ bool LdapDN::LdapDNPrivate::isValidRDNString(const QString &rdn) const
return true;
}
QStringList LdapDN::LdapDNPrivate::splitOnNonEscapedChar(const QString &str,
const QChar &ch) const
QStringList LdapDN::LdapDNPrivate::splitOnNonEscapedChar(const QString &str, QChar ch) const
{
QStringList strParts;
int index = 0;
......
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