author | zautrix <zautrix> | 2005-02-04 23:05:50 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-02-04 23:05:50 (UTC) |
commit | c6dceabcb41f6300ca97e69872fc801451944a32 (patch) (side-by-side diff) | |
tree | 40a47b4c306329f47645f1ac7f2bc9420a67066c /korganizer | |
parent | 53099ae3a9ef02549536dab3dd6870b7a2874284 (diff) | |
download | kdepimpi-c6dceabcb41f6300ca97e69872fc801451944a32.zip kdepimpi-c6dceabcb41f6300ca97e69872fc801451944a32.tar.gz kdepimpi-c6dceabcb41f6300ca97e69872fc801451944a32.tar.bz2 |
nochn fixxx
-rw-r--r-- | korganizer/kotodoview.cpp | 21 | ||||
-rw-r--r-- | korganizer/kotodoview.h | 1 |
2 files changed, 14 insertions, 8 deletions
diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp index 03a8f1c..1a1bce5 100644 --- a/korganizer/kotodoview.cpp +++ b/korganizer/kotodoview.cpp @@ -597,5 +597,5 @@ void KOTodoView::updateView() //qDebug("KOTodoView::updateView() %x", this); if ( isFlatDisplay ) { - setAllFlat(); + displayAllFlat(); return; } @@ -1124,12 +1124,6 @@ void KOTodoView::setOpen( QListViewItem* item, bool setOpenI) } -void KOTodoView::setAllFlat() +void KOTodoView::displayAllFlat() { - if ( isFlatDisplay ) { - isFlatDisplay = false; - mPopupMenu->setItemChecked( 8,false ); - updateView(); - return; - } pendingSubtodo = 0; if ( mBlockUpdate ) { @@ -1150,4 +1144,15 @@ void KOTodoView::setAllFlat() } +void KOTodoView::setAllFlat() +{ + if ( isFlatDisplay ) { + isFlatDisplay = false; + mPopupMenu->setItemChecked( 8,false ); + updateView(); + return; + } + displayAllFlat(); +} + void KOTodoView::purgeCompleted() { diff --git a/korganizer/kotodoview.h b/korganizer/kotodoview.h index 1642132..462f0a6 100644 --- a/korganizer/kotodoview.h +++ b/korganizer/kotodoview.h @@ -171,4 +171,5 @@ class KOTodoView : public KOrg::BaseView void setAllClose(); void setAllFlat(); + void displayAllFlat(); void purgeCompleted(); |