summaryrefslogtreecommitdiffstats
path: root/libkcal/calfilter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/calfilter.cpp')
-rw-r--r--libkcal/calfilter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libkcal/calfilter.cpp b/libkcal/calfilter.cpp
index c065bf448..898ec79cf 100644
--- a/libkcal/calfilter.cpp
+++ b/libkcal/calfilter.cpp
@@ -108,14 +108,14 @@ bool CalFilter::filterIncidence(Incidence *incidence) const
if ( (mCriteria & HideCompleted) && todo->isCompleted() ) {
// Check if completion date is suffently long ago:
if ( todo->completed().addDays( mCompletedTimeSpan ) <
- TQDateTime::tqcurrentDateTime() ) {
+ TQDateTime::currentDateTime() ) {
return false;
}
}
if( ( mCriteria & HideInactiveTodos ) &&
( todo->hasStartDate() &&
- TQDateTime::tqcurrentDateTime() < todo->dtStart() ||
+ TQDateTime::currentDateTime() < todo->dtStart() ||
todo->isCompleted() ) )
return false;