Skip to content
Snippets Groups Projects
Commit 137ba736 authored by hjk's avatar hjk
Browse files

Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline

parents f90706fa 0b4802c6
No related branches found
No related tags found
No related merge requests found
...@@ -158,8 +158,10 @@ static QString buildHelpId(const FullySpecifiedType &type, ...@@ -158,8 +158,10 @@ static QString buildHelpId(const FullySpecifiedType &type,
scope = e->scope(); scope = e->scope();
} else if (const NamedType *t = type->asNamedType()) { } else if (const NamedType *t = type->asNamedType()) {
name = t->name(); name = t->name();
} else if (const Declaration *d = symbol->asDeclaration()) { } else if (symbol && symbol->isDeclaration()) {
if (d->scope() && d->scope()->owner()->isEnum()) { const Declaration *d = symbol->asDeclaration();
if (d->scope() && d->scope()->isEnumScope()) {
name = d->name(); name = d->name();
scope = d->scope(); scope = d->scope();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment