From c7d821721a56691a1881706d3a77f68f63ecd421 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 24 Feb 2011 07:08:32 +0000 Subject: Fix a number of runtime object identification problems which led to an even larger array of minor glitches NOTE: kdevelop and kdewebdev still need to be fully repaired git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1222475 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kjsembed/qtbindings/qcanvasitem_imp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kjsembed/qtbindings/qcanvasitem_imp.cpp b/kjsembed/qtbindings/qcanvasitem_imp.cpp index c11b3780..9a3d0a5b 100644 --- a/kjsembed/qtbindings/qcanvasitem_imp.cpp +++ b/kjsembed/qtbindings/qcanvasitem_imp.cpp @@ -163,7 +163,7 @@ TQCanvasItem *QCanvasItemImp::toQCanvasItem( KJS::Object &self ) if ( !op ) return 0; /* - if ( !op->inherits("TQCanvasItem") ) { + if ( !op->inherits(TQCANVASITEM_OBJECT_NAME_STRING) ) { kdDebug() << "Typename of opaque canvas item is " << op->typeName() << endl; // Check superclasses return 0; -- cgit v1.2.1