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
v3.5.13-sru
tpearson 14 years ago
parent 4b5b56e5c9
commit c7d821721a

@ -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;

Loading…
Cancel
Save