summaryrefslogtreecommitdiffstats
path: root/kjsembed/qtbindings/qcanvasitem_imp.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-24 07:08:32 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-24 07:08:32 +0000
commitc7d821721a56691a1881706d3a77f68f63ecd421 (patch)
treed2d1ecbbaee1ddbb8c6a4a45c442a1b46055b881 /kjsembed/qtbindings/qcanvasitem_imp.cpp
parent4b5b56e5c96778584d7755bd8a7861ec4ab4fe13 (diff)
downloadtdebindings-c7d821721a56691a1881706d3a77f68f63ecd421.tar.gz
tdebindings-c7d821721a56691a1881706d3a77f68f63ecd421.zip
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
Diffstat (limited to 'kjsembed/qtbindings/qcanvasitem_imp.cpp')
-rw-r--r--kjsembed/qtbindings/qcanvasitem_imp.cpp2
1 files changed, 1 insertions, 1 deletions
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;