From 48d4a26399959121f33d2bc3bfe51c7827b654fc Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 14 Jun 2011 16:45:05 +0000 Subject: TQt4 port kdevelop This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- languages/cpp/simplecontext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'languages/cpp/simplecontext.cpp') 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; -- cgit v1.2.3