From 6f3c9f7002f094bfe8212cf398f2de12e51d97bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thorbj=C3=B8rn=20Lindeijer?= <thorbjorn.lindeijer@nokia.com>
Date: Thu, 9 Apr 2009 13:52:03 +0200
Subject: [PATCH] Revert "Do not expand the list of candidates when resolving
 fully qualified ids"

This reverts commit 84ba24ac71cb11c16f14a9311157aeb2ccf3ee5d.

It might work now cause of the fix done in commit
f3767148c0c3464d8d92f70fa80b203a8b01a428.
---
 src/libs/cplusplus/LookupContext.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libs/cplusplus/LookupContext.cpp b/src/libs/cplusplus/LookupContext.cpp
index f5a0edd66bc..f77d9a0f3de 100644
--- a/src/libs/cplusplus/LookupContext.cpp
+++ b/src/libs/cplusplus/LookupContext.cpp
@@ -176,7 +176,7 @@ QList<Symbol *> LookupContext::resolve(Name *name, const QList<Scope *> &visible
             scopes.clear();
             foreach (Symbol *candidate, candidates) {
                 if (ScopedSymbol *scoped = candidate->asScopedSymbol()) {
-                    scopes.append(scoped->members());
+                    expand(scoped->members(), visibleScopes, &scopes);
                 }
             }
         }
-- 
GitLab