summaryrefslogtreecommitdiffstats
path: root/libkcal/dndfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/dndfactory.cpp')
-rw-r--r--libkcal/dndfactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkcal/dndfactory.cpp b/libkcal/dndfactory.cpp
index b94c1707b..7f4398194 100644
--- a/libkcal/dndfactory.cpp
+++ b/libkcal/dndfactory.cpp
@@ -232,7 +232,7 @@ Incidence::List DndFactory::pasteIncidences( const TQDate &newDate, const TQTime
// update relations
for ( it = list.constBegin(); it != list.constEnd(); ++it ) {
Incidence *inc = *it;
- if ( oldUidToNewInc.contains( inc->relatedToUid() ) ) {
+ if ( oldUidToNewInc.tqcontains( inc->relatedToUid() ) ) {
Incidence *parentInc = oldUidToNewInc[inc->relatedToUid()];
inc->setRelatedToUid( parentInc->uid() );
inc->setRelatedTo( parentInc );