summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2004-09-20 13:55:25 (UTC)
committer zautrix <zautrix>2004-09-20 13:55:25 (UTC)
commitf222bd1339ac8323e3c99af84a6f83c21cacb8f8 (patch) (unidiff)
treebb56c3ff65506007eb48cea896d5893f70893261
parentb01b669d88fa195261d29ecf73b1c69e608a5ebc (diff)
downloadkdepimpi-f222bd1339ac8323e3c99af84a6f83c21cacb8f8.zip
kdepimpi-f222bd1339ac8323e3c99af84a6f83c21cacb8f8.tar.gz
kdepimpi-f222bd1339ac8323e3c99af84a6f83c21cacb8f8.tar.bz2
Fix todo crash
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/calendarview.cpp4
-rw-r--r--korganizer/kotodoview.cpp6
2 files changed, 8 insertions, 2 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp
index 8e83723..ba0e6c6 100644
--- a/korganizer/calendarview.cpp
+++ b/korganizer/calendarview.cpp
@@ -1934,3 +1934,3 @@ void CalendarView::changeTodoDisplay(Todo *which, int action)
1934 changeIncidenceDisplay((Incidence *)which, action); 1934 changeIncidenceDisplay((Incidence *)which, action);
1935 mDateNavigator->updateView(); 1935 mDateNavigator->updateView(); //LR
1936 //mDialogManager->updateSearchDialog(); 1936 //mDialogManager->updateSearchDialog();
@@ -1938,3 +1938,3 @@ void CalendarView::changeTodoDisplay(Todo *which, int action)
1938 if (which) { 1938 if (which) {
1939 mViewManager->currentView()->updateView(); 1939 //mViewManager->currentView()->updateView();//LR
1940 //mTodoList->updateView(); 1940 //mTodoList->updateView();
diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp
index d9e0a03..da46eca 100644
--- a/korganizer/kotodoview.cpp
+++ b/korganizer/kotodoview.cpp
@@ -495,2 +495,8 @@ void KOTodoView::updateView()
495{ 495{
496
497 if ( mBlockUpdate ) {
498 //qDebug("blocked ");
499 return;
500 }
501 //qDebug("update ");
496// kdDebug() << "KOTodoView::updateView()" << endl; 502// kdDebug() << "KOTodoView::updateView()" << endl;