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.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp
index 884c61a..0306e07 100644
--- a/korganizer/calendarview.cpp
+++ b/korganizer/calendarview.cpp
@@ -1234,6 +1234,7 @@ void CalendarView::syncExternal( int mode )
bool syncOK = false;
bool loadSuccess = false;
PhoneFormat* phoneFormat = 0;
+ emit tempDisableBR(true);
#ifndef DESKTOP_VERSION
SharpFormat* sharpFormat = 0;
if ( mode == 0 ) { // sharp
@@ -1249,8 +1250,10 @@ void CalendarView::syncExternal( int mode )
mSyncManager->mPhoneModel);
loadSuccess = phoneFormat->load( calendar,mCalendar);
- } else
- return;
+ } else {
+ emit tempDisableBR(false);
+ return;
+ }
if ( loadSuccess ) {
getEventViewerDialog()->setSyncMode( true );
syncOK = synchronizeCalendar( mCalendar, calendar, mSyncManager->mSyncAlgoPrefs );
@@ -1303,6 +1306,7 @@ void CalendarView::syncExternal( int mode )
}
delete calendar;
updateView();
+ emit tempDisableBR(false);
return ;//syncOK;
}