summaryrefslogtreecommitdiffstats
path: root/kdm
diff options
context:
space:
mode:
Diffstat (limited to 'kdm')
-rw-r--r--kdm/kfrontend/themer/kdmitem.cpp2
-rw-r--r--kdm/kfrontend/themer/kdmitem.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/kdm/kfrontend/themer/kdmitem.cpp b/kdm/kfrontend/themer/kdmitem.cpp
index 67778711d..88e5a7489 100644
--- a/kdm/kfrontend/themer/kdmitem.cpp
+++ b/kdm/kfrontend/themer/kdmitem.cpp
@@ -621,7 +621,7 @@ KdmItem::parentWidget() const
if (!this->parent())
return 0;
- if (tqparent()->qt_cast(TQWIDGET_OBJECT_NAME_STRING))
+ if (parent()->qt_cast(TQWIDGET_OBJECT_NAME_STRING))
return (TQWidget*)parent();
return ((KdmItem*)parent())->parentWidget();
}
diff --git a/kdm/kfrontend/themer/kdmitem.h b/kdm/kfrontend/themer/kdmitem.h
index 1a87692ac..ca6bd3435 100644
--- a/kdm/kfrontend/themer/kdmitem.h
+++ b/kdm/kfrontend/themer/kdmitem.h
@@ -147,7 +147,7 @@ public:
TQString baseDir() const
{
if (basedir.isEmpty() && parent())
- return static_cast<KdmItem *>( tqparent()->qt_cast( "KdmItem" ) )->baseDir();
+ return static_cast<KdmItem *>( parent()->qt_cast( "KdmItem" ) )->baseDir();
return basedir;
}