summaryrefslogtreecommitdiffabout
path: root/kde2file/abdump/main.cpp
authorzautrix <zautrix>2004-10-27 17:50:52 (UTC)
committer zautrix <zautrix>2004-10-27 17:50:52 (UTC)
commit85a0e0d9b1d60805cb4947be1c296c18e73c82b8 (patch) (side-by-side diff)
tree64920209dc3cded8b3241d44138b1a82afb300cf /kde2file/abdump/main.cpp
parent1df6fe03fe931bfbc83e855e47472a80ec4ba08e (diff)
downloadkdepimpi-85a0e0d9b1d60805cb4947be1c296c18e73c82b8.zip
kdepimpi-85a0e0d9b1d60805cb4947be1c296c18e73c82b8.tar.gz
kdepimpi-85a0e0d9b1d60805cb4947be1c296c18e73c82b8.tar.bz2
sync fixes
Diffstat (limited to 'kde2file/abdump/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kde2file/abdump/main.cpp6
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
@@ -135,8 +135,9 @@ int main( int argc, char *argv[] )
qDebug("kdeABdump::file has %d entries", list.count());
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());
if ( changed ) {
@@ -185,9 +186,10 @@ int main( int argc, char *argv[] )
} else
qDebug("error open file ");
}
- KABC::StdAddressBook::close();
-
+ delete standardAddressBook;
+ //KABC::StdAddressBook::close();
+ //StdAddressBook::mSelf = 0;
qDebug("ente ");
return 0;
}