diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2010-01-26 18:34:32 -0200 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2010-01-26 22:15:52 -0200 |
commit | 59bf883ba7a3678ad11e9eed7ddc93636b4c3424 (patch) | |
tree | bbd3a8ec4a8fd35e0801ed1b39c39af078e0b631 /cppgenerator.cpp | |
parent | e5654bd14cc0d034192104bb4325ba639d4f043c (diff) |
writeMinimalConstructorCallArguments knowns about enums.
Diffstat (limited to 'cppgenerator.cpp')
-rw-r--r-- | cppgenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppgenerator.cpp b/cppgenerator.cpp index 01d46bc51..63c0ef65a 100644 --- a/cppgenerator.cpp +++ b/cppgenerator.cpp @@ -627,7 +627,7 @@ void CppGenerator::writeMinimalConstructorCallArguments(QTextStream& s, const Ab if (type->isPrimitive() || type->isObject()) { s << "0"; - } else if (type->isContainer() || type->isFlags()){ + } else if (type->isContainer() || type->isFlags() || type->isEnum()){ s << metaType->cppSignature() << "()"; } else { // this is slowwwww, FIXME: Fix the API od APIExtractor, these things should be easy! |