From b7996a25adab32e6f2e4d278a9d9801ad66f90c7 Mon Sep 17 00:00:00 2001 From: alwin Date: Fri, 18 Mar 2005 12:49:14 +0000 Subject: made plugins configureable, eg, if them will load or not (or switch on/off at runtime) events generated from plugins will not editable and so on (check for a wrong Uid) so them are just text inside datebook. --- (limited to 'core/pim/datebook/datebookday.cpp') diff --git a/core/pim/datebook/datebookday.cpp b/core/pim/datebook/datebookday.cpp index 00ddd05..26f0303 100644 --- a/core/pim/datebook/datebookday.cpp +++ b/core/pim/datebook/datebookday.cpp @@ -363,10 +363,11 @@ void DateBookDay::getEvents() QStringList hdays = _holiday_db->holidaylist(currDate); QStringList::Iterator sit; QObject* object = 0; + + /* this way we make sure that holiday dummy events are always + on top of the widgetlist. */ for (sit=hdays.begin();sit!=hdays.end();++sit) { - object = m_allDays->addHoliday(*sit); - if (!object) continue; - /* not to do something with it */ + m_allDays->addHoliday(*sit); } QValueList eventList = db->getEffectiveEventsNoHoliday( currDate, currDate ); QValueListIterator it; -- cgit v0.9.0.2