From 3c5d7b484e6ab263ab4091f22815770ea8da6c9c Mon Sep 17 00:00:00 2001 From: zautrix Date: Mon, 21 Mar 2005 17:39:46 +0000 Subject: fix --- (limited to 'korganizer/koagendaview.cpp') diff --git a/korganizer/koagendaview.cpp b/korganizer/koagendaview.cpp index e029fdb..eb3a6cd 100644 --- a/korganizer/koagendaview.cpp +++ b/korganizer/koagendaview.cpp @@ -1418,8 +1418,7 @@ void KOAgendaView::setHolidayMasks() QPtrList events = calendar()->events( date, true ); Event *event; for( event = events.first(); event; event = events.next() ) { - if ( event->categories().contains("Holiday") || - event->categories().contains(i18n("Holiday"))) { + if ( event->isHoliday()) { showHoliday = true; break; } -- cgit v0.9.0.2