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

List:       kde-commits
Subject:    kroupware_branch: kdenetwork/kmail
From:       Marc Mutz <Marc.Mutz () uni-bielefeld ! de>
Date:       2002-12-07 9:28:35
[Download RAW message or body]

CVS commit by mutz: 

from HEAD: Dirk's kaddressbook argument quoting fix


  M +1 -3      kmaddrbook.cpp   1.54.4.6


--- kdenetwork/kmail/kmaddrbook.cpp:1.54.4.5	Sat Nov 30 17:34:16 2002
@@ -165,11 +165,9 @@
 
 //-----------------------------------------------------------------------------
 void KMAddrBookExternal::openEmail( const QString &addr, QWidget *) {
-  QString address = addr;
-  address.replace( QRegExp("\""), "" );
   if (useKAddressbook()) {
     if ( checkForAddressBook() ) {
-      KRun::runCommand( "kaddressbook -a \"" + address + "\"" );
+      KRun::runCommand( "kaddressbook -a " + KProcess::quote(addr) );
     }
     return;
   }

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

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