summaryrefslogtreecommitdiffstats
path: root/buildtools/qmake/qmakescopeitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/qmake/qmakescopeitem.cpp')
-rw-r--r--buildtools/qmake/qmakescopeitem.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/buildtools/qmake/qmakescopeitem.cpp b/buildtools/qmake/qmakescopeitem.cpp
index c49bbe79..f3cebef2 100644
--- a/buildtools/qmake/qmakescopeitem.cpp
+++ b/buildtools/qmake/qmakescopeitem.cpp
@@ -807,9 +807,9 @@ QMakeScopeItem* QMakeScopeItem::projectFileItem()
{
if( scope->scopeType() != Scope::ProjectScope )
{
- QMakeScopeItem* tqparentitem = dynamic_cast<QMakeScopeItem*>(tqparent());
- if( tqparentitem )
- return tqparentitem->projectFileItem();
+ QMakeScopeItem* parentitem = dynamic_cast<QMakeScopeItem*>(tqparent());
+ if( parentitem )
+ return parentitem->projectFileItem();
}
return this;
}