src/dbus/qdbusinterface.cpp
changeset 25 e24348a560a6
parent 18 2f34d5167611
child 30 5dc02b23752f
equal deleted inserted replaced
23:89e065397ea6 25:e24348a560a6
   256     Dispatch the call through the private.
   256     Dispatch the call through the private.
   257 */
   257 */
   258 int QDBusInterface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
   258 int QDBusInterface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
   259 {
   259 {
   260     _id = QDBusAbstractInterface::qt_metacall(_c, _id, _a);
   260     _id = QDBusAbstractInterface::qt_metacall(_c, _id, _a);
   261     if (_id < 0 || !d_func()->isValid)
   261     if (_id < 0 || !d_func()->isValid || !d_func()->metaObject)
   262         return _id;
   262         return _id;
   263     return d_func()->metacall(_c, _id, _a);
   263     return d_func()->metacall(_c, _id, _a);
   264 }
   264 }
   265 
   265 
   266 int QDBusInterfacePrivate::metacall(QMetaObject::Call c, int id, void **argv)
   266 int QDBusInterfacePrivate::metacall(QMetaObject::Call c, int id, void **argv)