From 1f00d69db7629853a25425ae5f3ca06d480e5430 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 12 Jul 2023 10:19:29 +0900 Subject: [PATCH] Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3. Signed-off-by: Michele Calgaro --- 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 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;