summaryrefslogtreecommitdiffabout
path: root/korganizer
authorzautrix <zautrix>2005-07-06 14:53:38 (UTC)
committer zautrix <zautrix>2005-07-06 14:53:38 (UTC)
commit2038f7363c31e1a0ab139a1184cbed10086e1862 (patch) (unidiff)
tree532bc409b7046938614417a8043455de0e86c8fe /korganizer
parent2e8199c8aa82c018d24d67c299a09b2aa6a786f1 (diff)
downloadkdepimpi-2038f7363c31e1a0ab139a1184cbed10086e1862.zip
kdepimpi-2038f7363c31e1a0ab139a1184cbed10086e1862.tar.gz
kdepimpi-2038f7363c31e1a0ab139a1184cbed10086e1862.tar.bz2
huhu
Diffstat (limited to 'korganizer') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/calendarview.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp
index 558fc55..98e0ac1 100644
--- a/korganizer/calendarview.cpp
+++ b/korganizer/calendarview.cpp
@@ -2620,24 +2620,38 @@ void CalendarView::changeIncidenceDisplay(Incidence *which, int action)
2620 mEventViewerDialog->hide(); 2620 mEventViewerDialog->hide();
2621 } 2621 }
2622 else 2622 else
2623 mCalendar->checkAlarmForIncidence( which , false ); 2623 mCalendar->checkAlarmForIncidence( which , false );
2624} 2624}
2625 2625
2626// most of the changeEventDisplays() right now just call the view's 2626// most of the changeEventDisplays() right now just call the view's
2627// total update mode, but they SHOULD be recoded to be more refresh-efficient. 2627// total update mode, but they SHOULD be recoded to be more refresh-efficient.
2628void CalendarView::changeEventDisplay(Event *which, int action) 2628void CalendarView::changeEventDisplay(Event *which, int action)
2629{ 2629{
2630 // kdDebug() << "CalendarView::changeEventDisplay" << endl; 2630 // kdDebug() << "CalendarView::changeEventDisplay" << endl;
2631 changeIncidenceDisplay((Incidence *)which, action); 2631 changeIncidenceDisplay((Incidence *)which, action);
2632
2633
2634 static bool clearallviews = false;
2635 if ( KOPrefs::instance()->mGlobalUpdateDisabled ) {
2636 if ( clearallviews ) {
2637 clearAllViews();
2638 clearallviews = false;
2639 }
2640 return;
2641 }
2642 clearallviews = true;
2643
2644
2645
2632 mDateNavigator->updateView(); 2646 mDateNavigator->updateView();
2633 //mDialogManager->updateSearchDialog(); 2647 //mDialogManager->updateSearchDialog();
2634 2648
2635 if (which) { 2649 if (which) {
2636 // If there is an event view visible update the display 2650 // If there is an event view visible update the display
2637 mViewManager->currentView()->changeEventDisplay(which,action); 2651 mViewManager->currentView()->changeEventDisplay(which,action);
2638 // TODO: check, if update needed 2652 // TODO: check, if update needed
2639 // if (which->getTodoStatus()) { 2653 // if (which->getTodoStatus()) {
2640 mTodoList->updateView(); 2654 mTodoList->updateView();
2641 // } 2655 // }
2642 } else { 2656 } else {
2643 mViewManager->currentView()->updateView(); 2657 mViewManager->currentView()->updateView();