* qt/qdbusinternalfilters.cpp: Don't show the parent's
authorThiago Macieira <thiago@kde.org>
Thu, 13 Apr 2006 17:34:18 +0000 (17:34 +0000)
committerThiago Macieira <thiago@kde.org>
Thu, 13 Apr 2006 17:34:18 +0000 (17:34 +0000)
          contents (r528208)

ChangeLog
qt/qdbusinternalfilters.cpp

index e22cb9faf14d3d9cf3477c5eccf9d786e9e25f12..b0fb670a115a60e9e79f91ff17546fcf73bd9916 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-04-13  Thiago Macieira  <thiago.macieira@trolltech.com
+
+       * qt/qdbusinternalfilters.cpp: Don't show the parent's
+         contents (r528208)
+
 2006-04-10  Thiago Macieira  <thiago.macieira@trolltech.com
 
        * qt/Makefile.am: fix the dependency for
index 7e938402c5b46b50d1b2b13d2e12b8feff3d0dc9..fe57a8750cacb84d3ad6f2983446622bd30b148b 100644 (file)
@@ -237,7 +237,7 @@ void qDBusIntrospectObject(const QDBusConnectionPrivate::ObjectTreeNode *node,
         if (node->flags & QDBusConnection::ExportContents) {
             const QMetaObject *mo = node->obj->metaObject();
             for ( ; mo != &QObject::staticMetaObject; mo = mo->superClass())
-                xml_data += generateMetaObjectXml(QString(), mo, &QObject::staticMetaObject,
+                xml_data += generateMetaObjectXml(QString(), mo, mo->superClass(),
                                                   node->flags);
         }