-rw-r--r-- | kabc/addressbook.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kabc/addressbook.cpp b/kabc/addressbook.cpp index 6e8d027..3ec0795 100644 --- a/kabc/addressbook.cpp +++ b/kabc/addressbook.cpp @@ -446,5 +446,5 @@ Ticket *AddressBook::requestSaveTicket( Resource *resource ) } -void AddressBook::insertAddressee( const Addressee &a ) +void AddressBook::insertAddressee( const Addressee &a, bool setRev ) { Addressee::List::Iterator it; @@ -461,5 +461,6 @@ void AddressBook::insertAddressee( const Addressee &a ) if ( changed ) { - (*it).setRevision( QDateTime::currentDateTime() ); + if ( setRev ) + (*it).setRevision( QDateTime::currentDateTime() ); (*it).setChanged( true ); } |