author | zautrix <zautrix> | 2004-10-20 16:27:05 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-20 16:27:05 (UTC) |
commit | 46ea2933c9f67e77fb5c6cd93237efc755f28b62 (patch) (side-by-side diff) | |
tree | 8025e9caceb2f62cd5b1d4b78b359545d38b39c5 /korganizer/mainwindow.cpp | |
parent | 5cf3c1bce58a6487af166e637e54571e98156fd0 (diff) | |
download | kdepimpi-46ea2933c9f67e77fb5c6cd93237efc755f28b62.zip kdepimpi-46ea2933c9f67e77fb5c6cd93237efc755f28b62.tar.gz kdepimpi-46ea2933c9f67e77fb5c6cd93237efc755f28b62.tar.bz2 |
made KDE sync perfect
-rw-r--r-- | korganizer/mainwindow.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 63484d6..e3dad94 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -1864,6 +1864,9 @@ void MainWindow::exportVCalendar() void MainWindow::syncFileRequest() { + if ( KOPrefs::instance()->mPassiveSyncWithDesktop ) { + mSyncManager->slotSyncMenu( 999 ); + } save(); } void MainWindow::getFile( bool success ) @@ -1872,7 +1875,10 @@ void MainWindow::getFile( bool success ) setCaption( i18n("Error receiving file. Nothing changed!") ); return; } - mView->openCalendar( defaultFileName() ); + mView->openCalendar( defaultFileName() ); + if ( KOPrefs::instance()->mPassiveSyncWithDesktop ) { + mSyncManager->slotSyncMenu( 999 ); + } setCaption( i18n("Pi-Sync successful!") ); } |