author | zautrix <zautrix> | 2005-07-07 22:42:31 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-07-07 22:42:31 (UTC) |
commit | 9635c9a7b8f5c19a1784079d4b67cb3ca600fc33 (patch) (side-by-side diff) | |
tree | 55a23c20f4092409a1dd2c34cecf6bdb7341a04b | |
parent | 876816e6582299d527610e847d259d2be6de403c (diff) | |
download | kdepimpi-9635c9a7b8f5c19a1784079d4b67cb3ca600fc33.zip kdepimpi-9635c9a7b8f5c19a1784079d4b67cb3ca600fc33.tar.gz kdepimpi-9635c9a7b8f5c19a1784079d4b67cb3ca600fc33.tar.bz2 |
fixxx
-rw-r--r-- | korganizer/calendarview.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index 2582931..68d1bc6 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp @@ -2742,17 +2742,17 @@ void CalendarView::changeEventDisplay(Event *which, int action) } } void CalendarView::checkConflictForEvent() { if (!KOPrefs::instance()->mConfirm) return; if ( ! mConflictingEvent ) return; - if ( mConflictingEvent->doesFloat() ) { + if ( mConflictingEvent->isHoliday() || mConflictingEvent->isBirthday() || mConflictingEvent->isAnniversary() ) { mConflictingEvent = 0; return; } QPtrList<Event> testlist = mCalendar->events(); Event * test = testlist.first(); QDateTime conflict; QDateTime retVal; bool found = false; @@ -2784,19 +2784,18 @@ void CalendarView::checkConflictForEvent() return; if ( mViewManager->currentView() != mViewManager->agendaView() || mNavigator->selectedDates().count() > 1 ) mViewManager->showDayView(); mNavigator->slotDaySelect( conflict.date() ); int hour = conflict.time().hour(); mViewManager->agendaView()->setStartHour( hour ); topLevelWidget()->setCaption( i18n("Conflict %1 <-> %2"). arg( mConflictingEvent->summary().left( 20 ) ).arg( cE->summary().left( 20 ) ) ); - return; } - + mConflictingEvent = 0; return; } void CalendarView::updateTodoViews() { mTodoList->updateView(); mViewManager->currentView()->updateView(); |