diff options
author | renatofilho <renato.filho@openbossa.org> | 2010-09-24 15:59:11 -0300 |
---|---|---|
committer | renatofilho <renato.filho@openbossa.org> | 2010-09-24 16:44:45 -0300 |
commit | 41bd89393e3203c027cb659771e390a7101c5fc4 (patch) | |
tree | 8b30fab7013784eb99edb57acb068c1364f1bf2c /libpyside/signalmanager.cpp | |
parent | 805824d4b637a240f5f26bde1f09d11780551950 (diff) |
Inlcluded assert to avoid call objectcts metacall whithout Python relatives.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'libpyside/signalmanager.cpp')
-rw-r--r-- | libpyside/signalmanager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libpyside/signalmanager.cpp b/libpyside/signalmanager.cpp index 3724500d5..b8e97f922 100644 --- a/libpyside/signalmanager.cpp +++ b/libpyside/signalmanager.cpp @@ -355,6 +355,7 @@ int SignalManager::qt_metacall(QObject* object, QMetaObject::Call call, int id, QMetaProperty mp; Shiboken::TypeResolver* typeResolver = 0; PyObject* pySelf = Shiboken::BindingManager::instance().retrieveWrapper(object); + Q_ASSERT(pySelf); if (call != QMetaObject::InvokeMetaMethod) { mp = metaObject->property(id); |