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

List:       kde-commits
Subject:    kdepim/libkdepim
From:       Till Adam <adam () kde ! org>
Date:       2005-03-10 16:18:09
Message-ID: 20050310161809.E91F517EA8 () office ! kde ! org
[Download RAW message or body]

CVS commit by tilladam: 

Make the pseudo completion entries actually work.


  M +2 -2      addresseelineedit.cpp   1.40


--- kdepim/libkdepim/addresseelineedit.cpp  #1.39:1.40
@@ -508,5 +508,5 @@ void AddresseeLineEdit::addContact( cons
     bool bDone = false;
     int i = -1;
-    while( ( i = name.findRev(' ') > 1 ) && !bDone ) {
+    while( ( i = name.findRev(' ') ) > 1 && !bDone ) {
       QString sLastName( name.mid( i+1 ) );
       if( ! sLastName.isEmpty() &&
@@ -525,5 +525,5 @@ void AddresseeLineEdit::addContact( cons
         bDone = true;
       }
-      if( !bDone ){
+      if( !bDone ) {
         name.truncate( i );
         if( name.endsWith("\"") )


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

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