-rw-r--r-- | kde2file/abdump/main.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/kde2file/abdump/main.cpp b/kde2file/abdump/main.cpp index d452ee9..1ee64f5 100644 --- a/kde2file/abdump/main.cpp +++ b/kde2file/abdump/main.cpp @@ -136,6 +136,7 @@ int main( int argc, char *argv[] ) KABC::Addressee::List::Iterator it; for ( it = list.begin();it != list.end();++it) { + (*it).setChanged( true ); bool changed = ((*it).custom( "KADDRESSBOOK", "X-ExternalID" ) == "changed"); (*it).removeCustom( "KADDRESSBOOK", "X-ExternalID" ); //qDebug("ext %s ", (*it).custom( "KADDRESSBOOK", "X-ExternalID" ).latin1()); @@ -186,8 +187,9 @@ int main( int argc, char *argv[] ) qDebug("error open file "); } - KABC::StdAddressBook::close(); - + delete standardAddressBook; + //KABC::StdAddressBook::close(); + //StdAddressBook::mSelf = 0; qDebug("ente "); return 0; } |