summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tools/qdoc/codemarker.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/tools/qdoc/codemarker.cpp b/src/tools/qdoc/codemarker.cpp
index e39ff203a5..c7d9c5b339 100644
--- a/src/tools/qdoc/codemarker.cpp
+++ b/src/tools/qdoc/codemarker.cpp
@@ -397,8 +397,11 @@ void CodeMarker::insert(FastSection &fastSection,
bool irrelevant = false;
bool inheritedMember = false;
if (!node->relates()) {
- if (node->parent() != fastSection.parent_) { // && !node->parent()->isAbstract()) {
- if ((node->parent()->subType() != Node::QmlClass) || !node->parent()->isAbstract()) {
+ InnerNode* p = node->parent();
+ if (p->subType() == Node::QmlPropertyGroup)
+ p = p->parent();
+ if (p != fastSection.parent_) { // && !node->parent()->isAbstract()) {
+ if (p->subType() != Node::QmlClass || !p->isAbstract()) {
//if (node->type() != Node::QmlProperty) {
inheritedMember = true;
}