summaryrefslogtreecommitdiffstats
path: root/languages/cpp/simplecontext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/simplecontext.cpp')
-rw-r--r--languages/cpp/simplecontext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages/cpp/simplecontext.cpp b/languages/cpp/simplecontext.cpp
index 225bfc84..3d23f76c 100644
--- a/languages/cpp/simplecontext.cpp
+++ b/languages/cpp/simplecontext.cpp
@@ -27,7 +27,7 @@ SimpleType getGlobal( SimpleType t ) {
SafetyCounter s( 50 );
while( !global.scope().isEmpty() && s ) {
if( !s ) { kdDebug( 9007 ) << "error" << endl; break; }
- global = global->parent();
+ global = global->tqparent();
}
if( !global.scope().isEmpty() ) {kdDebug( 9007 ) << "ERROR WITH GLOBAL SCOPE" << endl; return SimpleType(); }
return global;