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:
parent
52c2a2cd0d
commit
ec7b01c24f
4 changed files with 58 additions and 52 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue