summaryrefslogtreecommitdiffstats
path: root/cppgenerator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cppgenerator.cpp')
-rw-r--r--cppgenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppgenerator.cpp b/cppgenerator.cpp
index 01d46bc5..63c0ef65 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!