summaryrefslogtreecommitdiffstats
path: root/src/dbus
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-05-01 21:38:09 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-05-01 21:38:09 (GMT)
commit1d021032f6920fe90bc23a028ae15ab434868363 (patch)
treed03fbde992158177aeb22d83e0412c58f189197b /src/dbus
parent36a5ecba6ca65e8445fa9b391e239f62c2002159 (diff)
parentfef0ec67bf1b49221b3f383f6ea1c9a65fc08c57 (diff)
downloadQt-1d021032f6920fe90bc23a028ae15ab434868363.zip
Qt-1d021032f6920fe90bc23a028ae15ab434868363.tar.gz
Qt-1d021032f6920fe90bc23a028ae15ab434868363.tar.bz2
Merge remote branch 'origin/4.6' into qt-4.7-from-4.6
Diffstat (limited to 'src/dbus')
-rw-r--r--src/dbus/qdbusinterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbus/qdbusinterface.cpp b/src/dbus/qdbusinterface.cpp
index 7cc43ed..b989cab 100644
--- a/src/dbus/qdbusinterface.cpp
+++ b/src/dbus/qdbusinterface.cpp
@@ -260,7 +260,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);
}