summaryrefslogtreecommitdiffstats
path: root/kresources/egroupware
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/egroupware')
-rw-r--r--kresources/egroupware/kcal_resourcexmlrpc.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kresources/egroupware/kcal_resourcexmlrpc.cpp b/kresources/egroupware/kcal_resourcexmlrpc.cpp
index b15a5a395..177ce9def 100644
--- a/kresources/egroupware/kcal_resourcexmlrpc.cpp
+++ b/kresources/egroupware/kcal_resourcexmlrpc.cpp
@@ -1114,8 +1114,8 @@ void ResourceXMLRPC::writeTodo( Todo* todo, TQMap<TQString, TQVariant>& args )
// SUBTODO
Incidence *inc = todo->relatedTo();
if ( inc ) {
- TQString tqparentUid = idMapper().remoteId( inc->uid() );
- args.insert( "id_tqparent", tqparentUid );
+ TQString parentUid = idMapper().remoteId( inc->uid() );
+ args.insert( "id_tqparent", parentUid );
}
// STATE
@@ -1172,9 +1172,9 @@ void ResourceXMLRPC::readTodo( const TQMap<TQString, TQVariant>& args, Todo *tod
}
// SUBTODO
- TQString tqparentId = args[ "id_tqparent" ].toString();
- if ( tqparentId != "0" ) { // we are a sub todo
- TQString localParentUid = idMapper().localId( tqparentId );
+ TQString parentId = args[ "id_tqparent" ].toString();
+ if ( parentId != "0" ) { // we are a sub todo
+ TQString localParentUid = idMapper().localId( parentId );
if ( !localParentUid.isEmpty() ) { // found tqparent todo
Todo *tqparent = mCalendar.todo( localParentUid );
if ( tqparent )