diff options
Diffstat (limited to 'libkcal/dndfactory.cpp')
-rw-r--r-- | libkcal/dndfactory.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libkcal/dndfactory.cpp b/libkcal/dndfactory.cpp index fd1ef20d3..9ebae51d4 100644 --- a/libkcal/dndfactory.cpp +++ b/libkcal/dndfactory.cpp @@ -216,7 +216,7 @@ Incidence::List DndFactory::pasteIncidences( const TQDate &newDate, const TQTime } // All pasted incidences get new uids, must keep track of old uids, - // so we can update child's tqparents + // so we can update child's parents TQMap<TQString,Incidence*> oldUidToNewInc; Incidence::List::ConstIterator it; @@ -233,9 +233,9 @@ Incidence::List DndFactory::pasteIncidences( const TQDate &newDate, const TQTime for ( it = list.constBegin(); it != list.constEnd(); ++it ) { Incidence *inc = *it; if ( oldUidToNewInc.tqcontains( inc->relatedToUid() ) ) { - Incidence *tqparentInc = oldUidToNewInc[inc->relatedToUid()]; - inc->setRelatedToUid( tqparentInc->uid() ); - inc->setRelatedTo( tqparentInc ); + Incidence *parentInc = oldUidToNewInc[inc->relatedToUid()]; + inc->setRelatedToUid( parentInc->uid() ); + inc->setRelatedTo( parentInc ); } else { // not related to anything in the clipboard inc->setRelatedToUid( TQString() ); |