summaryrefslogtreecommitdiffabout
path: root/kaddressbook
authorzautrix <zautrix>2004-09-18 16:32:35 (UTC)
committer zautrix <zautrix>2004-09-18 16:32:35 (UTC)
commita355a58898d0d08d797f872751254cfa958387c1 (patch) (side-by-side diff)
treece338c8cc9785d6351a8a8b66fb8e5c1602ceab0 /kaddressbook
parentbf18a7b4edb4121fd2ea974ac1ec634167c9b993 (diff)
downloadkdepimpi-a355a58898d0d08d797f872751254cfa958387c1.zip
kdepimpi-a355a58898d0d08d797f872751254cfa958387c1.tar.gz
kdepimpi-a355a58898d0d08d797f872751254cfa958387c1.tar.bz2
time fixes
Diffstat (limited to 'kaddressbook') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/kabcore.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp
index 226d5e4..215ce83 100644
--- a/kaddressbook/kabcore.cpp
+++ b/kaddressbook/kabcore.cpp
@@ -2902,6 +2902,9 @@ bool KABCore::synchronizeAddressbooks( KABC::AddressBook* local, KABC::AddressBo
bar.hide();
mLastAddressbookSync = QDateTime::currentDateTime().addSecs( 1 );
+ // get rid of micro seconds
+ QTime t = mLastAddressbookSync.time();
+ mLastAddressbookSync.setTime( QTime (t.hour (), t.minute (), t.second () ) );
addresseeLSync.setRevision( mLastAddressbookSync );
addresseeRSync.setRevision( mLastAddressbookSync );
addresseeRSync.setGivenName( i18n("Remote from: ")+mCurrentSyncName ) ;