aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-10-14 19:18:53 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2011-10-17 20:00:24 -0300
commit837162eb4db6de11b4e33fcbda21d706d055ac58 (patch)
tree82f6a4f81c24cd4254100d9b8a07818df116d560
parent5f3ed94f7a83acf0fc7dfddf414a34121eabe58a (diff)
Fixes Generator::isObjectType(AbstractMetaType*) method.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
-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)