Mercurial > projects > qtd
diff generator/cppgenerator.cpp @ 33:cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
author | eldar |
---|---|
date | Sat, 16 May 2009 17:12:06 +0000 |
parents | e78566595089 |
children | 17b5e13364b7 08c1ca7975ab |
line wrap: on
line diff
--- a/generator/cppgenerator.cpp Fri May 15 18:57:36 2009 +0000 +++ b/generator/cppgenerator.cpp Sat May 16 17:12:06 2009 +0000 @@ -123,7 +123,7 @@ // values because wrapper actually contains pointers if ((options & ForcePointer) && actual_indirections == 0 && !type->isPrimitive() && !type->typeEntry()->isStructInD() - && type->name() != "QModelIndex") + && type->name() != "QModelIndex" && !type->isEnum()) actual_indirections = 1; s << QString(actual_indirections, '*');