summaryrefslogtreecommitdiffstats
path: root/tdeabc/ldapconfigwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeabc/ldapconfigwidget.cpp')
-rw-r--r--tdeabc/ldapconfigwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeabc/ldapconfigwidget.cpp b/tdeabc/ldapconfigwidget.cpp
index 2c2dfbe75..bc4b0ae5d 100644
--- a/tdeabc/ldapconfigwidget.cpp
+++ b/tdeabc/ldapconfigwidget.cpp
@@ -615,7 +615,7 @@ void LdapConfigWidget::setFlags( int flags )
obj = ch2.first();
while ( obj != 0 ) {
widget = dynamic_cast<TQWidget*> (obj);
- if ( widget && TQT_BASE_OBJECT(widget->parent()) == TQT_BASE_OBJECT(this) ) {
+ if ( widget && widget->parent() == this ) {
mainLayout->remove( widget );
delete ( widget );
}