-rw-r--r-- | korganizer/calendarview.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index d6ead37..547d02b 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp | |||
@@ -1199,13 +1199,11 @@ void CalendarView::syncExternal( int mode ) | |||
1199 | } else | 1199 | } else |
1200 | #endif | 1200 | #endif |
1201 | if ( mode == 1 ) { // phone | 1201 | if ( mode == 1 ) { // phone |
1202 | phoneFormat = new PhoneFormat (); | 1202 | phoneFormat = new PhoneFormat (mCurrentSyncDevice, |
1203 | loadSuccess = phoneFormat->load( calendar, | ||
1204 | mCalendar, | ||
1205 | mCurrentSyncDevice, | ||
1206 | KOPrefs::instance()->mPhoneDevice, | 1203 | KOPrefs::instance()->mPhoneDevice, |
1207 | KOPrefs::instance()->mPhoneConnection, | 1204 | KOPrefs::instance()->mPhoneConnection, |
1208 | KOPrefs::instance()->mPhoneModel); | 1205 | KOPrefs::instance()->mPhoneModel); |
1206 | loadSuccess = phoneFormat->load( calendar,mCalendar); | ||
1209 | 1207 | ||
1210 | } else | 1208 | } else |
1211 | return; | 1209 | return; |