summaryrefslogtreecommitdiffstats
path: root/korganizer/kotimelineview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/kotimelineview.cpp')
-rw-r--r--korganizer/kotimelineview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/kotimelineview.cpp b/korganizer/kotimelineview.cpp
index 93296daaf..072ea31f2 100644
--- a/korganizer/kotimelineview.cpp
+++ b/korganizer/kotimelineview.cpp
@@ -293,7 +293,7 @@ void KOTimelineView::insertIncidence(KCal::Incidence * incidence)
for ( TQDate day = mStartDate; day <= mEndDate; day = day.addDays( 1 ) ) {
Event::List events = calendar()->events( day, EventSortStartDate, SortDirectionAscending );
for ( Event::List::ConstIterator it = events.constBegin(); it != events.constEnd(); ++it ) {
- if ( events.tqcontains( event ) )
+ if ( events.contains( event ) )
insertIncidence( *it, day );
}
}