summaryrefslogtreecommitdiff
authorzecke <zecke>2003-05-07 17:44:59 (UTC)
committer zecke <zecke>2003-05-07 17:44:59 (UTC)
commitac895871f93dce9734189daf9cb95dbbda605096 (patch) (side-by-side diff)
tree18f34fcdeededd689ea9b7a3f8fd9d76d2e22282
parent1cee00987d34729393fb9383d90babd39517cc68 (diff)
downloadopie-ac895871f93dce9734189daf9cb95dbbda605096.zip
opie-ac895871f93dce9734189daf9cb95dbbda605096.tar.gz
opie-ac895871f93dce9734189daf9cb95dbbda605096.tar.bz2
one more
Diffstat (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 ) {
* if the item does recur
* we need to spin it off
* and update the items duedate to the next
* possible recurrance of this item...
* the spinned off one will loose the
*/
- if ( to.recurrence().doesRecur() && to.isCompleted() ) {
+ if ( to.hasRecurrence() && to.isCompleted() ) {
OTodo to2( to );
/* the spinned off one won't recur anymore */
to.setRecurrence( ORecur() );
ORecur rec = to2.recurrence();