diff options
| author | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-10-14 19:18:53 -0300 |
|---|---|---|
| committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-10-17 20:00:24 -0300 |
| commit | 837162eb4db6de11b4e33fcbda21d706d055ac58 (patch) | |
| tree | 82f6a4f81c24cd4254100d9b8a07818df116d560 | |
| parent | 5f3ed94f7a83acf0fc7dfddf414a34121eabe58a (diff) | |
Fixes Generator::isObjectType(AbstractMetaType*) method.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
| -rw-r--r-- | generator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generator.cpp b/generator.cpp index a53e322d9..2b6375651 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) |
