From b3662915cb2c966ed7b5c563b8e840ae5b82d4e6 Mon Sep 17 00:00:00 2001 From: zautrix Date: Wed, 20 Oct 2004 09:45:16 +0000 Subject: fixed br for kopi --- (limited to 'korganizer/calendarview.cpp') 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; } -- cgit v0.9.0.2