summaryrefslogtreecommitdiffstats
path: root/korganizer/resourceview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/resourceview.cpp')
-rw-r--r--korganizer/resourceview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/resourceview.cpp b/korganizer/resourceview.cpp
index cc6a8af9b..6c0bda0fd 100644
--- a/korganizer/resourceview.cpp
+++ b/korganizer/resourceview.cpp
@@ -372,8 +372,8 @@ void ResourceView::addResource()
&ok, this );
if ( !ok )
return;
- const TQString tqparentId = item->isSubresource() ? item->resourceIdentifier() : TQString:: null;
- if ( !item->resource()->addSubresource( folderName, tqparentId ) ) {
+ const TQString parentId = item->isSubresource() ? item->resourceIdentifier() : TQString:: null;
+ if ( !item->resource()->addSubresource( folderName, parentId ) ) {
KMessageBox::error(
this,
i18n( "<qt>Unable to create subresource <b>%1</b>.</qt>" ).tqarg( folderName ) );