From 2d1e1fe5d290503db8c0462fc294f5c04f58e95c Mon Sep 17 00:00:00 2001 From: zautrix Date: Sun, 10 Jul 2005 00:09:04 +0000 Subject: fixxx --- (limited to 'korganizer/calendarview.cpp') diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index f9685e9..ab69158 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp @@ -677,7 +677,9 @@ void CalendarView::nextConflict( bool all, bool allday ) QPtrList testlist2 = testlist; test = testlist.first(); bool skip = false; + topLevelWidget()->setCaption( i18n("Checking conflicts ... please wait") ); while ( test ) { + qApp->processEvents(); skip = false; if ( !all ) skip = ( allday != test->doesFloat() ); if ( !skip ) { @@ -2768,10 +2770,7 @@ void CalendarView::checkConflictForEvent() if (!KOPrefs::instance()->mConfirm) return; if ( ! mConflictingEvent ) return; - if ( mConflictingEvent->isHoliday() || mConflictingEvent->isBirthday() || mConflictingEvent->isAnniversary() ) { - mConflictingEvent = 0; - return; - } + topLevelWidget()->setCaption( i18n("Checking conflicts ... please wait") ); QPtrList testlist = mCalendar->events(); Event * test = testlist.first(); QDateTime conflict; @@ -2780,6 +2779,7 @@ void CalendarView::checkConflictForEvent() Event * cE = 0; QDateTime current = QDateTime::currentDateTime(); while ( test ) { + qApp->processEvents(); if ( !test->doesFloat() ) { if ( mConflictingEvent->isOverlapping ( test, &retVal, ¤t ) ) { if ( ! found ) { -- cgit v0.9.0.2