forked from qt-creator/qt-creator
C++: fixed code completion for namespace aliases
Task-number: QTCREATORBUG-166 Change-Id: I7a19065a57bfb943e5fc4e2bd9bd81988c1175e3 Reviewed-by: Sergey Shambir <sergey.shambir.auto@gmail.com> Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
committed by
Erik Verbruggen
parent
bde6667240
commit
eb30ab6604
@@ -517,7 +517,9 @@ public:
|
||||
|
||||
BasicProposalItem *operator()(Symbol *symbol)
|
||||
{
|
||||
if (! symbol || ! symbol->name() || symbol->name()->isQualifiedNameId())
|
||||
//using declaration can be qualified
|
||||
if (! symbol || ! symbol->name() || (symbol->name()->isQualifiedNameId()
|
||||
&& ! symbol->asUsingDeclaration()))
|
||||
return 0;
|
||||
|
||||
BasicProposalItem *previousItem = switchCompletionItem(0);
|
||||
|
||||
Reference in New Issue
Block a user