summaryrefslogtreecommitdiffstats
path: root/cervisia/updateview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cervisia/updateview.cpp')
-rw-r--r--cervisia/updateview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cervisia/updateview.cpp b/cervisia/updateview.cpp
index 62e691ee..a60e0cd9 100644
--- a/cervisia/updateview.cpp
+++ b/cervisia/updateview.cpp
@@ -500,8 +500,8 @@ void UpdateView::syncSelection()
UpdateDirItem* dirItem(0);
if (isDirItem(item))
dirItem = static_cast<UpdateDirItem*>(item);
- else if (TQListViewItem* tqparentItem = item->tqparent())
- dirItem = static_cast<UpdateDirItem*>(tqparentItem);
+ else if (TQListViewItem* parentItem = item->tqparent())
+ dirItem = static_cast<UpdateDirItem*>(parentItem);
if (dirItem)
setDirItems.insert(dirItem);