summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/qdoc3/htmlgenerator.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp
index ed3a485..033c62c 100644
--- a/tools/qdoc3/htmlgenerator.cpp
+++ b/tools/qdoc3/htmlgenerator.cpp
@@ -698,7 +698,7 @@ int HtmlGenerator::generateAtom(const Atom *atom,
case Node::Typedef:
sections[Typedef].appendMember((Node*)node);
break;
- case Node::Function:
+ case Node::Function: {
const FunctionNode* fn = static_cast<const FunctionNode*>(node);
if (fn->isMacro())
sections[Macro].appendMember((Node*)node);
@@ -720,6 +720,7 @@ int HtmlGenerator::generateAtom(const Atom *atom,
sections[GlobalFunction].appendMember((Node*)node);
}
break;
+ }
case Node::Property:
sections[Property].appendMember((Node*)node);
break;