summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 278252eb..36105a92 100644
--- a/kjsembed/qtbindings/qcanvasitem_imp.cpp
+++ b/kjsembed/qtbindings/qcanvasitem_imp.cpp
@@ -163,7 +163,7 @@ TQCanvasItem *TQCanvasItemImp::toTQCanvasItem( KJS::Object &self )
if ( !op )
return 0;
/*
- if ( !op->inherits(TQCANVASITEM_OBJECT_NAME_STRING) ) {
+ if ( !op->inherits("TQCanvasItem") ) {
kdDebug() << "Typename of opaque canvas item is " << op->typeName() << endl;
// Check superclasses
return 0;