summaryrefslogtreecommitdiff
path: root/core/pim/todo
authorzecke <zecke>2003-05-07 17:44:59 (UTC)
committer zecke <zecke>2003-05-07 17:44:59 (UTC)
commitac895871f93dce9734189daf9cb95dbbda605096 (patch) (unidiff)
tree18f34fcdeededd689ea9b7a3f8fd9d76d2e22282 /core/pim/todo
parent1cee00987d34729393fb9383d90babd39517cc68 (diff)
downloadopie-ac895871f93dce9734189daf9cb95dbbda605096.zip
opie-ac895871f93dce9734189daf9cb95dbbda605096.tar.gz
opie-ac895871f93dce9734189daf9cb95dbbda605096.tar.bz2
one more
Diffstat (limited to 'core/pim/todo') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp
index 77cbe17..c5cedc6 100644
--- a/core/pim/todo/mainwindow.cpp
+++ b/core/pim/todo/mainwindow.cpp
@@ -702,13 +702,13 @@ void MainWindow::slotComplete( const OTodo& todo ) {
702 * if the item does recur 702 * if the item does recur
703 * we need to spin it off 703 * we need to spin it off
704 * and update the items duedate to the next 704 * and update the items duedate to the next
705 * possible recurrance of this item... 705 * possible recurrance of this item...
706 * the spinned off one will loose the 706 * the spinned off one will loose the
707 */ 707 */
708 if ( to.recurrence().doesRecur() && to.isCompleted() ) { 708 if ( to.hasRecurrence() && to.isCompleted() ) {
709 OTodo to2( to ); 709 OTodo to2( to );
710 710
711 /* the spinned off one won't recur anymore */ 711 /* the spinned off one won't recur anymore */
712 to.setRecurrence( ORecur() ); 712 to.setRecurrence( ORecur() );
713 713
714 ORecur rec = to2.recurrence(); 714 ORecur rec = to2.recurrence();