-rw-r--r-- | korganizer/mainwindow.cpp | 6 |
1 files changed, 6 insertions, 0 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 ) @@ -1873,6 +1876,9 @@ void MainWindow::getFile( bool success ) return; } mView->openCalendar( defaultFileName() ); + if ( KOPrefs::instance()->mPassiveSyncWithDesktop ) { + mSyncManager->slotSyncMenu( 999 ); + } setCaption( i18n("Pi-Sync successful!") ); } |