[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/kdepim/enterprise/kdepim/libkdepim
From: Allen Winter <winter () kde ! org>
Date: 2010-03-23 18:12:25
Message-ID: 20100323181225.18FF6AC879 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1106707 by winterz:
in selectedEMails(), quote the names returned from the search as needed.
kolab/issue4149
MERGE: trunk,4.4
M +4 -2 ldapsearchdialog.cpp
--- branches/kdepim/enterprise/kdepim/libkdepim/ldapsearchdialog.cpp #1106706:1106707
@@ -21,6 +21,8 @@
#include "ldapsearchdialog.h"
#include "ldapclient.h"
+#include <libemailfunctions/email.h>
+
#include <qcheckbox.h>
#include <qgroupbox.h>
#include <qheader.h>
@@ -258,7 +260,7 @@
KPIM::LdapClient* ldapClient = new KPIM::LdapClient( 0, this, "ldapclient" );
ldapClient->setServer( ldapServer );
-
+
QStringList attrs;
for ( QMap<QString,QString>::Iterator it = adrbookattr2ldap().begin(); it != \
adrbookattr2ldap().end(); ++it ) @@ -445,7 +447,7 @@
if ( name.isEmpty() ) {
result << email;
} else {
- result << name + " <" + email + ">";
+ result << KPIM::quoteNameIfNecessary( name ) + " <" + email + ">";
}
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic