Fixed dynamic meta object to avoid empty meta method.

Empty meta methods cause a assert failure on QtDeclarative module.
Also removed the scoped pointer to avoid heap allocation when it's not
needed, as QByteArray is already implicity shared.
This commit is contained in:
Hugo Parente Lima 2010-12-01 15:34:44 -02:00
commit e20a97a480
4 changed files with 58 additions and 52 deletions

View file

@ -25,6 +25,7 @@
#include <shiboken.h>
#include <QString>
#include <QMetaObject>
#define SLOT_DEC_NAME "Slot"