From 22625693f124aae09863f4d33e30b625a96c3557 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 12 Jul 2023 10:17:40 +0900 Subject: Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3. Signed-off-by: Michele Calgaro --- tdm/kfrontend/themer/tdmitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tdm/kfrontend/themer/tdmitem.cpp') diff --git a/tdm/kfrontend/themer/tdmitem.cpp b/tdm/kfrontend/themer/tdmitem.cpp index ce5904a26..955ef8f02 100644 --- a/tdm/kfrontend/themer/tdmitem.cpp +++ b/tdm/kfrontend/themer/tdmitem.cpp @@ -663,7 +663,7 @@ KdmItem::parentWidget() const if (!this->parent()) return 0; - if (parent()->tqt_cast(TQWIDGET_OBJECT_NAME_STRING)) + if (parent()->tqt_cast("TQWidget")) return (TQWidget*)parent(); return ((KdmItem*)parent())->parentWidget(); } -- cgit v1.2.1