summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-06-14 15:00:29 (UTC)
committer zautrix <zautrix>2005-06-14 15:00:29 (UTC)
commit9b2265ffbe8c21fff0b00b376dd3925e4b44168b (patch) (side-by-side diff)
tree27147c040dc5bbd44f2210955e4df2fb1930fb93
parentd38f601cfdb510fc39dd798af44a50c7958d7be8 (diff)
downloadkdepimpi-9b2265ffbe8c21fff0b00b376dd3925e4b44168b.zip
kdepimpi-9b2265ffbe8c21fff0b00b376dd3925e4b44168b.tar.gz
kdepimpi-9b2265ffbe8c21fff0b00b376dd3925e4b44168b.tar.bz2
compile fixes
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--korganizer/calendarview.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp
index b0be340..dd4ea41 100644
--- a/korganizer/calendarview.cpp
+++ b/korganizer/calendarview.cpp
@@ -1855,12 +1855,13 @@ bool CalendarView::loadCalendars()
}
restoreCalendarSettings();
mCalendar->reInitAlarmSettings();
setSyncEventsReadOnly();
updateUnmanagedViews();
updateView();
+ return true;
}
bool CalendarView::restoreCalendarSettings()
{
QPtrList<KopiCalendarFile> calendars = KOPrefs::instance()->mCalendars;
KopiCalendarFile * cal = calendars.first();
while ( cal ) {
@@ -1868,12 +1869,13 @@ bool CalendarView::restoreCalendarSettings()
mCalendar->setAlarmEnabled( cal->mCalNumber, cal->isAlarmEnabled );
mCalendar->setReadOnly( cal->mCalNumber, cal->isReadOnly );
if ( cal->isStandard )
mCalendar->setDefaultCalendar( cal->mCalNumber );
cal = calendars.next();
}
+ return true;
}
void CalendarView::addCalendarId( int id )
{
KopiCalendarFile * cal = KOPrefs::instance()->getCalendar( id );
addCalendar( cal );
}
@@ -2059,12 +2061,13 @@ bool CalendarView::saveCalendars()
if ( saveCalendar( cal->mFileName ) )
cal->mLoadDt = QDateTime::currentDateTime();
}
cal = calendars.next();
}
restoreCalendarSettings();
+ return true;
}
bool CalendarView::saveCalendar( QString filename )
{
// Store back all unsaved data into calendar object
// qDebug("file %s %d ", filename.latin1() , mViewManager->currentView() );