summaryrefslogtreecommitdiff
path: root/core/pim/todo/mainwindow.cpp
Side-by-side diff
Diffstat (limited to 'core/pim/todo/mainwindow.cpp') (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
@@ -705,7 +705,7 @@ void MainWindow::slotComplete( const OTodo& todo ) {
* 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 */