summaryrefslogtreecommitdiffabout
path: root/korganizer/calendarview.cpp
Side-by-side diff
Diffstat (limited to 'korganizer/calendarview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/calendarview.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp
index b307649..d6ead37 100644
--- a/korganizer/calendarview.cpp
+++ b/korganizer/calendarview.cpp
@@ -1180,7 +1180,7 @@ void CalendarView::syncPhone()
}
void CalendarView::syncExternal( int mode )
{
- mGlobalSyncMode = SYNC_MODE_EXTERNAL;
+ mGlobalSyncMode = SYNC_MODE_EXTERNAL;
//mCurrentSyncDevice = "sharp-DTM";
if ( KOPrefs::instance()->mAskForPreferences )
edit_sync_options();
@@ -1200,7 +1200,12 @@ void CalendarView::syncExternal( int mode )
#endif
if ( mode == 1 ) { // phone
phoneFormat = new PhoneFormat ();
- loadSuccess = phoneFormat->load( calendar, mCalendar );
+ loadSuccess = phoneFormat->load( calendar,
+ mCalendar,
+ mCurrentSyncDevice,
+ KOPrefs::instance()->mPhoneDevice,
+ KOPrefs::instance()->mPhoneConnection,
+ KOPrefs::instance()->mPhoneModel);
} else
return;