aboutsummaryrefslogtreecommitdiffstats
path: root/generator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'generator.cpp')
-rw-r--r--generator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/generator.cpp b/generator.cpp
index a53e322d..2b637565 100644
--- a/generator.cpp
+++ b/generator.cpp
@@ -374,7 +374,7 @@ bool Generator::isObjectType(const AbstractMetaClass* metaClass)
}
bool Generator::isObjectType(const AbstractMetaType* metaType)
{
- return metaType->isObject() || metaType->isQObject();
+ return isObjectType(metaType->typeEntry());
}
bool Generator::isPointer(const AbstractMetaType* type)