author | zautrix <zautrix> | 2004-10-27 17:50:52 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-27 17:50:52 (UTC) |
commit | 85a0e0d9b1d60805cb4947be1c296c18e73c82b8 (patch) (unidiff) | |
tree | 64920209dc3cded8b3241d44138b1a82afb300cf /kde2file | |
parent | 1df6fe03fe931bfbc83e855e47472a80ec4ba08e (diff) | |
download | kdepimpi-85a0e0d9b1d60805cb4947be1c296c18e73c82b8.zip kdepimpi-85a0e0d9b1d60805cb4947be1c296c18e73c82b8.tar.gz kdepimpi-85a0e0d9b1d60805cb4947be1c296c18e73c82b8.tar.bz2 |
sync fixes
-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[] ) | |||
136 | 136 | ||
137 | KABC::Addressee::List::Iterator it; | 137 | KABC::Addressee::List::Iterator it; |
138 | for ( it = list.begin();it != list.end();++it) { | 138 | for ( it = list.begin();it != list.end();++it) { |
139 | (*it).setChanged( true ); | ||
139 | bool changed = ((*it).custom( "KADDRESSBOOK", "X-ExternalID" ) == "changed"); | 140 | bool changed = ((*it).custom( "KADDRESSBOOK", "X-ExternalID" ) == "changed"); |
140 | (*it).removeCustom( "KADDRESSBOOK", "X-ExternalID" ); | 141 | (*it).removeCustom( "KADDRESSBOOK", "X-ExternalID" ); |
141 | //qDebug("ext %s ", (*it).custom( "KADDRESSBOOK", "X-ExternalID" ).latin1()); | 142 | //qDebug("ext %s ", (*it).custom( "KADDRESSBOOK", "X-ExternalID" ).latin1()); |
@@ -186,8 +187,9 @@ int main( int argc, char *argv[] ) | |||
186 | qDebug("error open file "); | 187 | qDebug("error open file "); |
187 | } | 188 | } |
188 | 189 | ||
189 | KABC::StdAddressBook::close(); | 190 | delete standardAddressBook; |
190 | 191 | //KABC::StdAddressBook::close(); | |
192 | //StdAddressBook::mSelf = 0; | ||
191 | qDebug("ente "); | 193 | qDebug("ente "); |
192 | return 0; | 194 | return 0; |
193 | } | 195 | } |