[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/kdepim/proko2/kdepim/libkdepim
From:       Till Adam <adam () kde ! org>
Date:       2006-10-16 18:58:27
Message-ID: 1161025107.897431.31061.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 596120 by tilladam:

Don't quote twice.


 M  +1 -0      email.cpp  


--- branches/kdepim/proko2/kdepim/libkdepim/email.cpp #596119:596120
@@ -329,6 +329,7 @@
   static const QString specials("()<>@,.;:[]");
   // add DQUOTE's if necessary:
   bool needsQuotes=false;
+  if ( fullName[0] == '"' && fullName[fullName.length()-1] == '"' ) return fullName;
   QString result;
   for (unsigned int i=0; i < fullName.length(); i++) {
     if ( specials.contains( fullName[i] ) )
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic