diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-04-30 18:02:10 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-04-30 18:02:10 (GMT) |
commit | 9155bb1413c8818d4283825a80650cfa978ff47c (patch) | |
tree | 175c65eb074a439e1a087657b29c275505fe1a1e /src/dbus/qdbusinterface.cpp | |
parent | 15ac39c60c752eedb51ca6db74f16097c40e35f4 (diff) | |
parent | 2fb0d29126a4d0583dcbeb03c6205bd7b7aa794f (diff) | |
download | Qt-9155bb1413c8818d4283825a80650cfa978ff47c.zip Qt-9155bb1413c8818d4283825a80650cfa978ff47c.tar.gz Qt-9155bb1413c8818d4283825a80650cfa978ff47c.tar.bz2 |
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.6-integration
* '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Fix crash in QDBusInterface when invoking a method in a derived class.
tst_selftest: Fix off-by-one error in cleaning up line numbers and filenames
Diffstat (limited to 'src/dbus/qdbusinterface.cpp')
-rw-r--r-- | src/dbus/qdbusinterface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbus/qdbusinterface.cpp b/src/dbus/qdbusinterface.cpp index 300f425..56d5231 100644 --- a/src/dbus/qdbusinterface.cpp +++ b/src/dbus/qdbusinterface.cpp @@ -258,7 +258,7 @@ void *QDBusInterface::qt_metacast(const char *_clname) int QDBusInterface::qt_metacall(QMetaObject::Call _c, int _id, void **_a) { _id = QDBusAbstractInterface::qt_metacall(_c, _id, _a); - if (_id < 0 || !d_func()->isValid) + if (_id < 0 || !d_func()->isValid || !d_func()->metaObject) return _id; return d_func()->metacall(_c, _id, _a); } |