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 ec7b01c24f
4 changed files with 58 additions and 52 deletions

View file

@ -21,6 +21,7 @@
*/
#include "globalreceiver.h"
#include "dynamicqmetaobject_p.h"
#include <QMetaMethod>
#include <QDebug>
@ -32,7 +33,6 @@
#include "signalmanager.h"
#define RECEIVER_DESTROYED_SLOT_NAME "__receiverDestroyed__(QObject*)"
#define GLOBAL_RECEIVER_CLASS_NAME "__GlobalReceiver__"
namespace PySide
{