From 462dc85dcb12aab8e19797dadf48799656708a54 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 11 Jul 2023 21:42:08 +0900 Subject: Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3. Signed-off-by: Michele Calgaro (cherry picked from commit 20e4a19b0d7cc800d57be50c56d69023adae4046) --- lib/kross/api/qtobject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/kross/api/qtobject.cpp') diff --git a/lib/kross/api/qtobject.cpp b/lib/kross/api/qtobject.cpp index 631c99434..8f0819aa5 100644 --- a/lib/kross/api/qtobject.cpp +++ b/lib/kross/api/qtobject.cpp @@ -112,7 +112,7 @@ TQUObject* QtObject::toTQUObject(const TQString& signature, List::Ptr arguments) // Fill parameters. uint argcount = arguments ? arguments->count() : 0; for(uint i = 0; i < paramcount; i++) { - if(paramlist[i].find(TQSTRING_OBJECT_NAME_STRING) >= 0) { + if(paramlist[i].find("TQString") >= 0) { const TQString s = (argcount > i) ? Variant::toString(arguments->item(i)) : TQString(); //krossdebug(TQString("EventSlot::toTQUObject s=%1").arg(s)); static_TQUType_TQString.set( &(uo[i + 1]), s ); -- cgit v1.2.3