summaryrefslogtreecommitdiffstats
path: root/kdm/kfrontend/themer/kdmitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdm/kfrontend/themer/kdmitem.cpp')
-rw-r--r--kdm/kfrontend/themer/kdmitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdm/kfrontend/themer/kdmitem.cpp b/kdm/kfrontend/themer/kdmitem.cpp
index 2d3f841f4..1b2d7af1d 100644
--- a/kdm/kfrontend/themer/kdmitem.cpp
+++ b/kdm/kfrontend/themer/kdmitem.cpp
@@ -621,7 +621,7 @@ KdmItem::tqparentWidget() const
if (!this->parent())
return 0;
- if (tqparent()->qt_cast("TQWidget"))
+ if (tqparent()->qt_cast(TQWIDGET_OBJECT_NAME_STRING))
return (TQWidget*)parent();
return ((KdmItem*)parent())->tqparentWidget();
}