summaryrefslogtreecommitdiffstats
path: root/src/qdoc/node.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qdoc/node.h')
-rw-r--r--src/qdoc/node.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qdoc/node.h b/src/qdoc/node.h
index 6b1032805..945bc2187 100644
--- a/src/qdoc/node.h
+++ b/src/qdoc/node.h
@@ -619,8 +619,8 @@ class QmlTypeNode : public Aggregate
public:
QmlTypeNode(Aggregate* parent, const QString& name);
virtual ~QmlTypeNode();
- virtual bool isQmlType() const Q_DECL_OVERRIDE { return genus() == Node::QML; }
- virtual bool isJsType() const Q_DECL_OVERRIDE { return genus() == Node::JS; }
+ virtual bool isQmlType() const Q_DECL_OVERRIDE { return isQmlNode(); }
+ virtual bool isJsType() const Q_DECL_OVERRIDE { return isJsNode(); }
virtual bool isQtQuickNode() const Q_DECL_OVERRIDE {
return (logicalModuleName() == QLatin1String("QtQuick"));
}